public class SslTransportFactory extends TcpTransportFactory
| Constructor and Description |
|---|
SslTransportFactory() |
| Modifier and Type | Method and Description |
|---|---|
Transport |
compositeConfigure(Transport transport,
WireFormat format,
java.util.Map options)
Overriding to allow for proper configuration through reflection but delegate to get common
configuration
|
protected javax.net.ServerSocketFactory |
createServerSocketFactory()
Creates a new SSL ServerSocketFactory.
|
protected javax.net.SocketFactory |
createSocketFactory()
Creates a new SSL SocketFactory.
|
protected Transport |
createTransport(java.net.URI location,
WireFormat wf)
Overriding to use SslTransports.
|
TransportServer |
doBind(java.net.URI location)
Overriding to use SslTransportServer and allow for proper reflection.
|
void |
setKeyAndTrustManagers(javax.net.ssl.KeyManager[] km,
javax.net.ssl.TrustManager[] tm,
java.security.SecureRandom random)
Deprecated.
"Do not use anymore... using static initializers like this method only allows the JVM to use 1 SSL configuration per broker."
|
createInactivityMonitor, createTcpTransport, createTcpTransportServer, isUseInactivityMonitorbind, bind, bind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, getDefaultWireFormatType, getOption, registerTransportFactory, serverConfigurepublic SslTransportFactory()
public TransportServer doBind(java.net.URI location) throws java.io.IOException
doBind in class TcpTransportFactoryjava.io.IOExceptionpublic Transport compositeConfigure(Transport transport, WireFormat format, java.util.Map options)
compositeConfigure in class TcpTransportFactoryprotected Transport createTransport(java.net.URI location, WireFormat wf) throws java.net.UnknownHostException, java.io.IOException
createTransport in class TcpTransportFactoryjava.net.UnknownHostExceptionjava.io.IOExceptionprotected javax.net.ServerSocketFactory createServerSocketFactory() throws java.io.IOException
createServerSocketFactory in class TcpTransportFactoryjava.io.IOExceptionprotected javax.net.SocketFactory createSocketFactory() throws java.io.IOException
createSocketFactory in class TcpTransportFactoryjava.io.IOExceptionpublic void setKeyAndTrustManagers(javax.net.ssl.KeyManager[] km, javax.net.ssl.TrustManager[] tm, java.security.SecureRandom random)
km - tm - random - SslContext.setCurrentSslContext(SslContext),
SslContext.getSSLContext()Copyright © 2005-2012. All Rights Reserved.