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(URI location)
           
 Transport doCompositeConnect(URI location)
           
 Transport doConnect(URI location)
           
 
Methods inherited from class org.apache.activemq.transport.TransportFactory
bind, compositeConfigure, compositeConnect, compositeConnect, configure, connect, connect, createTransport, createWireFormat, createWireFormatFactory, doCompositeConnect, doConnect, findTransportFactory, 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(URI location)
                    throws URISyntaxException,
                           Exception
Overrides:
doConnect in class TransportFactory
Throws:
URISyntaxException
Exception

doCompositeConnect

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

createTransport

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

doBind

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


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.