Class AutoTcpTransportFactory
- java.lang.Object
-
- org.apache.activemq.transport.TransportFactory
-
- org.apache.activemq.transport.tcp.TcpTransportFactory
-
- org.apache.activemq.transport.auto.AutoTcpTransportFactory
-
- All Implemented Interfaces:
BrokerServiceAware
public class AutoTcpTransportFactory extends org.apache.activemq.transport.tcp.TcpTransportFactory implements BrokerServiceAware
-
-
Field Summary
Fields Modifier and Type Field Description protected BrokerServicebrokerService
-
Constructor Summary
Constructors Constructor Description AutoTcpTransportFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AutoTcpTransportServercreateTcpTransportServer(URI location, ServerSocketFactory serverSocketFactory)org.apache.activemq.transport.TransportServerdoBind(URI location)voidsetBrokerService(BrokerService brokerService)-
Methods inherited from class org.apache.activemq.transport.tcp.TcpTransportFactory
compositeConfigure, createInactivityMonitor, createServerSocketFactory, createSocketFactory, createTcpTransport, createTransport, createTransport, createTransport, isUseInactivityMonitor
-
Methods inherited from class org.apache.activemq.transport.TransportFactory
bind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, findTransportFactory, getDefaultWireFormatType, getOption, registerTransportFactory, serverConfigure
-
-
-
-
Field Detail
-
brokerService
protected BrokerService brokerService
-
-
Method Detail
-
setBrokerService
public void setBrokerService(BrokerService brokerService)
- Specified by:
setBrokerServicein interfaceBrokerServiceAware
-
doBind
public org.apache.activemq.transport.TransportServer doBind(URI location) throws IOException
- Overrides:
doBindin classorg.apache.activemq.transport.tcp.TcpTransportFactory- Throws:
IOException
-
createTcpTransportServer
protected AutoTcpTransportServer createTcpTransportServer(URI location, ServerSocketFactory serverSocketFactory) throws IOException, URISyntaxException
- Overrides:
createTcpTransportServerin classorg.apache.activemq.transport.tcp.TcpTransportFactory- Throws:
IOExceptionURISyntaxException
-
-