org.springframework.integration.ip.tcp.connection
Interface ConnectionFactory

All Superinterfaces:
Lifecycle, Phased, SmartLifecycle
All Known Implementing Classes:
AbstractClientConnectionFactory, AbstractConnectionFactory, AbstractServerConnectionFactory, TcpNetClientConnectionFactory, TcpNetServerConnectionFactory, TcpNioClientConnectionFactory, TcpNioServerConnectionFactory

public interface ConnectionFactory
extends SmartLifecycle

A factory used to create TcpConnection objects.

Since:
2.0

Method Summary
 TcpConnection getConnection()
           
 
Methods inherited from interface org.springframework.context.SmartLifecycle
isAutoStartup, stop
 
Methods inherited from interface org.springframework.context.Lifecycle
isRunning, start, stop
 
Methods inherited from interface org.springframework.context.Phased
getPhase
 

Method Detail

getConnection

TcpConnection getConnection()
                            throws java.lang.Exception
Throws:
java.lang.Exception