org.springframework.integration.ip.tcp.connection.support
Class DefaultTcpNetSSLSocketFactorySupport
java.lang.Object
org.springframework.integration.ip.tcp.connection.support.DefaultTcpNetSSLSocketFactorySupport
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, TcpSocketFactorySupport
public class DefaultTcpNetSSLSocketFactorySupport
- extends java.lang.Object
- implements TcpSocketFactorySupport, org.springframework.beans.factory.InitializingBean
Implementation of TcpSocketFactorySupport
for SSL sockets SSLServerSocket
and
SSLSocket
.
- Since:
- 2.2
- Author:
- Gary Russell
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTcpNetSSLSocketFactorySupport
public DefaultTcpNetSSLSocketFactorySupport(TcpSSLContextSupport sslContextSupport)
getServerSocketFactory
public javax.net.ServerSocketFactory getServerSocketFactory()
- Description copied from interface:
TcpSocketFactorySupport
- Supplies the
ServerSocketFactory
to be used to
create new ServerSocket
s.
- Specified by:
getServerSocketFactory
in interface TcpSocketFactorySupport
- Returns:
- the ServerSocketFacory
getSocketFactory
public javax.net.SocketFactory getSocketFactory()
- Description copied from interface:
TcpSocketFactorySupport
- Supplies the
SocketFactory
to be used to
create new Socket
s.
- Specified by:
getSocketFactory
in interface TcpSocketFactorySupport
- Returns:
- the SocketFactory
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception