|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.transport.TransportFactory
org.apache.activemq.transport.tcp.TcpTransportFactory
org.apache.activemq.transport.tcp.SslTransportFactory
public class SslTransportFactory
An implementation of the TcpTransportFactory using SSL. The major contribution from this class is that it is aware of SslTransportServer and SslTransport classes. All Transports and TransportServers created from this factory will have their needClientAuth option set to false.
| Constructor Summary | |
|---|---|
SslTransportFactory()
|
|
| 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 ServerSocketFactory |
createServerSocketFactory()
Creates a new SSL ServerSocketFactory. |
protected SocketFactory |
createSocketFactory()
Creates a new SSL SocketFactory. |
protected SslTransportServer |
createSslTransportServer(URI location,
SSLServerSocketFactory serverSocketFactory)
Allows subclasses of SslTransportFactory to create custom instances of SslTransportServer. |
protected Transport |
createTransport(URI location,
WireFormat wf)
Overriding to use SslTransports. |
TransportServer |
doBind(URI location)
Overriding to use SslTransportServer and allow for proper reflection. |
| Methods inherited from class org.apache.activemq.transport.tcp.TcpTransportFactory |
|---|
createInactivityMonitor, createTcpTransport, createTcpTransportServer, 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 |
| Constructor Detail |
|---|
public SslTransportFactory()
| Method Detail |
|---|
public TransportServer doBind(URI location)
throws IOException
doBind in class TcpTransportFactoryIOException
protected SslTransportServer createSslTransportServer(URI location,
SSLServerSocketFactory serverSocketFactory)
throws IOException,
URISyntaxException
location - serverSocketFactory -
IOException
URISyntaxException
public Transport compositeConfigure(Transport transport,
WireFormat format,
Map options)
compositeConfigure in class TcpTransportFactory
protected Transport createTransport(URI location,
WireFormat wf)
throws UnknownHostException,
IOException
createTransport in class TcpTransportFactoryUnknownHostException
IOException
protected ServerSocketFactory createServerSocketFactory()
throws IOException
createServerSocketFactory in class TcpTransportFactoryIOException
protected SocketFactory createSocketFactory()
throws IOException
createSocketFactory in class TcpTransportFactoryIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||