Spring Integration

org.springframework.integration.ip.tcp.connection.support
Class DefaultTcpNetSSLSocketFactorySupport

java.lang.Object
  extended by 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

Constructor Summary
DefaultTcpNetSSLSocketFactorySupport(TcpSSLContextSupport sslContextSupport)
           
 
Method Summary
 void afterPropertiesSet()
           
 javax.net.ServerSocketFactory getServerSocketFactory()
          Supplies the ServerSocketFactory to be used to create new ServerSockets.
 javax.net.SocketFactory getSocketFactory()
          Supplies the SocketFactory to be used to create new Sockets.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTcpNetSSLSocketFactorySupport

public DefaultTcpNetSSLSocketFactorySupport(TcpSSLContextSupport sslContextSupport)
Method Detail

getServerSocketFactory

public javax.net.ServerSocketFactory getServerSocketFactory()
Description copied from interface: TcpSocketFactorySupport
Supplies the ServerSocketFactory to be used to create new ServerSockets.

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 Sockets.

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

Spring Integration