Spring Integration

org.springframework.integration.ip.tcp.connection
Class ClientModeConnectionManager

java.lang.Object
  extended by org.springframework.integration.ip.tcp.connection.ClientModeConnectionManager
All Implemented Interfaces:
java.lang.Runnable

public class ClientModeConnectionManager
extends java.lang.Object
implements java.lang.Runnable

Intended to be run on a schedule, simply gets the connection from a client connection factory each time it is run. If no connection exists (or it has been closed), the connection factory will create a new one (if possible).

Since:
2.1
Author:
Gary Russell

Constructor Summary
ClientModeConnectionManager(AbstractConnectionFactory clientConnectionFactory)
           
 
Method Summary
 boolean isConnected()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientModeConnectionManager

public ClientModeConnectionManager(AbstractConnectionFactory clientConnectionFactory)
Parameters:
clientConnectionFactory -
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

isConnected

public boolean isConnected()

Spring Integration