org.apache.activemq.transport.nio
Class NIOSSLTransportFactory

java.lang.Object
  extended by org.apache.activemq.transport.TransportFactory
      extended by org.apache.activemq.transport.tcp.TcpTransportFactory
          extended by org.apache.activemq.transport.nio.NIOTransportFactory
              extended by org.apache.activemq.transport.nio.NIOSSLTransportFactory

public class NIOSSLTransportFactory
extends NIOTransportFactory


Field Summary
protected  SSLContext context
           
 
Constructor Summary
NIOSSLTransportFactory()
           
 
Method Summary
 Transport compositeConfigure(Transport transport, WireFormat format, Map options)
          Overriding to allow for proper configuration through reflection but delegate to get common configuration
protected  SocketFactory createSocketFactory()
          Creates a new SSL SocketFactory.
protected  TcpTransportServer createTcpTransportServer(URI location, ServerSocketFactory serverSocketFactory)
          Allows subclasses of TcpTransportFactory to create custom instances of TcpTransportServer.
protected  Transport createTransport(URI location, WireFormat wf)
          Overriding to use SslTransports.
 TransportServer doBind(URI location)
           
 
Methods inherited from class org.apache.activemq.transport.nio.NIOTransportFactory
createServerSocketFactory, createTcpTransport
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected SSLContext context
Constructor Detail

NIOSSLTransportFactory

public NIOSSLTransportFactory()
Method Detail

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.