org.apache.activemq.transport.vm
Class VMTransportFactory

java.lang.Object
  extended by org.apache.activemq.transport.TransportFactory
      extended by org.apache.activemq.transport.vm.VMTransportFactory

public class VMTransportFactory
extends TransportFactory


Field Summary
static ConcurrentHashMap<String,BrokerService> BROKERS
           
static ConcurrentHashMap<String,TransportConnector> CONNECTORS
           
static ConcurrentHashMap<String,VMTransportServer> SERVERS
           
 
Constructor Summary
VMTransportFactory()
           
 
Method Summary
 TransportServer doBind(URI location)
           
 Transport doCompositeConnect(URI location)
           
 Transport doConnect(URI location)
           
 BrokerFactoryHandler getBrokerFactoryHandler()
           
 void setBrokerFactoryHandler(BrokerFactoryHandler brokerFactoryHandler)
           
static void stopped(String host)
           
static void stopped(VMTransportServer server)
           
 
Methods inherited from class org.apache.activemq.transport.TransportFactory
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
 

Field Detail

BROKERS

public static final ConcurrentHashMap<String,BrokerService> BROKERS

CONNECTORS

public static final ConcurrentHashMap<String,TransportConnector> CONNECTORS

SERVERS

public static final ConcurrentHashMap<String,VMTransportServer> SERVERS
Constructor Detail

VMTransportFactory

public VMTransportFactory()
Method Detail

doConnect

public Transport doConnect(URI location)
                    throws Exception
Overrides:
doConnect in class TransportFactory
Throws:
Exception

doCompositeConnect

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

doBind

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

stopped

public static void stopped(VMTransportServer server)

stopped

public static void stopped(String host)

getBrokerFactoryHandler

public BrokerFactoryHandler getBrokerFactoryHandler()

setBrokerFactoryHandler

public void setBrokerFactoryHandler(BrokerFactoryHandler brokerFactoryHandler)


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.