org.apache.activemq.transport.nio
Class NIOSSLTransportFactory
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
public class NIOSSLTransportFactory
- extends NIOTransportFactory
Methods inherited from class org.apache.activemq.transport.TransportFactory |
bind, bind, bind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, getDefaultWireFormatType, getOption, registerTransportFactory, serverConfigure |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NIOSSLTransportFactory
public NIOSSLTransportFactory()
createTcpTransportServer
protected TcpTransportServer createTcpTransportServer(java.net.URI location,
javax.net.ServerSocketFactory serverSocketFactory)
throws java.io.IOException,
java.net.URISyntaxException
- Description copied from class:
TcpTransportFactory
- Allows subclasses of TcpTransportFactory to create custom instances of
TcpTransportServer.
- Overrides:
createTcpTransportServer
in class NIOTransportFactory
- Returns:
-
- Throws:
java.io.IOException
java.net.URISyntaxException
doBind
public TransportServer doBind(java.net.URI location)
throws java.io.IOException
- Overrides:
doBind
in class TcpTransportFactory
- Throws:
java.io.IOException
compositeConfigure
public Transport compositeConfigure(Transport transport,
WireFormat format,
java.util.Map options)
- Overriding to allow for proper configuration through reflection but delegate to get common
configuration
- Overrides:
compositeConfigure
in class TcpTransportFactory
- Returns:
createTransport
protected Transport createTransport(java.net.URI location,
WireFormat wf)
throws java.net.UnknownHostException,
java.io.IOException
- Overriding to use SslTransports.
- Overrides:
createTransport
in class TcpTransportFactory
- Throws:
java.net.UnknownHostException
java.io.IOException
createSocketFactory
protected javax.net.SocketFactory createSocketFactory()
throws java.io.IOException
- Creates a new SSL SocketFactory. The given factory will use user-provided
key and trust managers (if the user provided them).
- Overrides:
createSocketFactory
in class NIOTransportFactory
- Returns:
- Newly created (Ssl)SocketFactory.
- Throws:
java.io.IOException
Copyright © 2005-2016. All Rights Reserved.