org.apache.activemq.transport.mock
Class MockTransportFactory

java.lang.Object
  extended by org.apache.activemq.transport.TransportFactory
      extended by org.apache.activemq.transport.mock.MockTransportFactory

public class MockTransportFactory
extends TransportFactory


Constructor Summary
MockTransportFactory()
           
 
Method Summary
 Transport createTransport(URISupport.CompositeData compositData)
           
 TransportServer doBind(java.net.URI location)
           
 Transport doCompositeConnect(java.net.URI location)
           
 Transport doConnect(java.net.URI location)
           
 
Methods inherited from class org.apache.activemq.transport.TransportFactory
bind, bind, bind, compositeConfigure, compositeConnect, compositeConnect, configure, connect, connect, createTransport, createWireFormat, createWireFormatFactory, doCompositeConnect, doConnect, getDefaultWireFormatType, getOption, registerTransportFactory, serverConfigure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockTransportFactory

public MockTransportFactory()
Method Detail

doConnect

public Transport doConnect(java.net.URI location)
                    throws java.net.URISyntaxException,
                           java.lang.Exception
Overrides:
doConnect in class TransportFactory
Throws:
java.net.URISyntaxException
java.lang.Exception

doCompositeConnect

public Transport doCompositeConnect(java.net.URI location)
                             throws java.net.URISyntaxException,
                                    java.lang.Exception
Overrides:
doCompositeConnect in class TransportFactory
Throws:
java.net.URISyntaxException
java.lang.Exception

createTransport

public Transport createTransport(URISupport.CompositeData compositData)
                          throws java.lang.Exception
Parameters:
location -
Returns:
Throws:
java.lang.Exception

doBind

public TransportServer doBind(java.net.URI location)
                       throws java.io.IOException
Specified by:
doBind in class TransportFactory
Throws:
java.io.IOException


Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.