Spring Integration

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

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

public interface ConnectionFactory
extends org.springframework.context.SmartLifecycle

A factory used to create TcpConnection objects.

Since:
2.0
Author:
Gary Russell

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

Spring Integration