Class AutoNioSslTransportFactory
- java.lang.Object
-
- org.apache.activemq.transport.TransportFactory
-
- org.apache.activemq.transport.tcp.TcpTransportFactory
-
- org.apache.activemq.transport.nio.NIOTransportFactory
-
- org.apache.activemq.transport.nio.NIOSSLTransportFactory
-
- org.apache.activemq.transport.auto.nio.AutoNioSslTransportFactory
-
- All Implemented Interfaces:
BrokerServiceAware
public class AutoNioSslTransportFactory extends NIOSSLTransportFactory implements BrokerServiceAware
-
-
Field Summary
Fields Modifier and Type Field Description protected BrokerService
brokerService
-
Fields inherited from class org.apache.activemq.transport.nio.NIOSSLTransportFactory
context
-
-
Constructor Summary
Constructors Constructor Description AutoNioSslTransportFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AutoNIOSSLTransportServer
createTcpTransportServer(URI location, ServerSocketFactory serverSocketFactory)
Allows subclasses of TcpTransportFactory to create custom instances of TcpTransportServer.TransportServer
doBind(URI location)
void
setBrokerService(BrokerService brokerService)
-
Methods inherited from class org.apache.activemq.transport.nio.NIOSSLTransportFactory
compositeConfigure, createSocketFactory, createTransport, createTransport
-
Methods inherited from class org.apache.activemq.transport.nio.NIOTransportFactory
createServerSocketFactory, createTcpTransport, createTransport
-
Methods inherited from class org.apache.activemq.transport.tcp.TcpTransportFactory
createInactivityMonitor, 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:
setBrokerService
in interfaceBrokerServiceAware
-
createTcpTransportServer
protected AutoNIOSSLTransportServer createTcpTransportServer(URI location, ServerSocketFactory serverSocketFactory) throws IOException, URISyntaxException
Description copied from class:TcpTransportFactory
Allows subclasses of TcpTransportFactory to create custom instances of TcpTransportServer.- Overrides:
createTcpTransportServer
in classNIOSSLTransportFactory
- Returns:
- a new TcpTransportServer instance.
- Throws:
IOException
URISyntaxException
-
doBind
public TransportServer doBind(URI location) throws IOException
- Overrides:
doBind
in classNIOSSLTransportFactory
- Throws:
IOException
-
-