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, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, findTransportFactory, getDefaultWireFormatType, getOption, registerTransportFactory, serverConfigure |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected SSLContext context
NIOSSLTransportFactory
public NIOSSLTransportFactory()
createTcpTransportServer
protected TcpTransportServer 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 class NIOTransportFactory
- Returns:
-
- Throws:
IOException
URISyntaxException
doBind
public TransportServer doBind(URI location)
throws IOException
- Overrides:
doBind in class TcpTransportFactory
- Throws:
IOException
compositeConfigure
public Transport compositeConfigure(Transport transport,
WireFormat format,
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(URI location,
WireFormat wf)
throws UnknownHostException,
IOException
- Overriding to use SslTransports.
- Overrides:
createTransport in class TcpTransportFactory
- Throws:
UnknownHostException
IOException
createSocketFactory
protected SocketFactory createSocketFactory()
throws 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:
IOException
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.