Spring Integration

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

java.lang.Object
  extended by org.springframework.integration.ip.tcp.connection.support.DefaultTcpNetSocketFactorySupport
All Implemented Interfaces:
TcpSocketFactorySupport

public class DefaultTcpNetSocketFactorySupport
extends java.lang.Object
implements TcpSocketFactorySupport

Implementation of TcpSocketFactorySupport for non-SSL sockets ServerSocket and Socket.

Since:
2.2
Author:
Gary Russell

Constructor Summary
DefaultTcpNetSocketFactorySupport()
           
 
Method Summary
 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

DefaultTcpNetSocketFactorySupport

public DefaultTcpNetSocketFactorySupport()
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

Spring Integration