Class TcpNetClientConnectionFactorySpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,C>
org.springframework.integration.ip.dsl.AbstractConnectionFactorySpec<S,C>
org.springframework.integration.ip.dsl.TcpClientConnectionFactorySpec<TcpNetClientConnectionFactorySpec,TcpNetClientConnectionFactory>
org.springframework.integration.ip.dsl.TcpNetClientConnectionFactorySpec
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<TcpNetClientConnectionFactory>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
public class TcpNetClientConnectionFactorySpec
extends TcpClientConnectionFactorySpec<TcpNetClientConnectionFactorySpec,TcpNetClientConnectionFactory>
- Since:
- 6.0.3
- Author:
- Gary Russell
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconnectionSupport
(TcpNetConnectionSupport connectionSupport) TheTcpNetConnectionSupport
to use to create connection objects.socketFactorySupport
(TcpSocketFactorySupport tcpSocketFactorySupport) Set theTcpSocketFactorySupport
used to create server sockets.Methods inherited from class org.springframework.integration.ip.dsl.TcpClientConnectionFactorySpec
connectTimeout
Methods inherited from class org.springframework.integration.ip.dsl.AbstractConnectionFactorySpec
deserializer, id, interceptorFactoryChain, leaveOpen, lookupHost, mapper, nioHarvestInterval, readDelay, serializer, singleUseConnections, socketSupport, soKeepAlive, soLinger, soReceiveBufferSize, soSendBufferSize, soTcpNoDelay, soTimeout, soTrafficClass, taskExecutor, tcpSocketSupport
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
TcpNetClientConnectionFactorySpec
-
-
Method Details
-
connectionSupport
public TcpNetClientConnectionFactorySpec connectionSupport(TcpNetConnectionSupport connectionSupport) TheTcpNetConnectionSupport
to use to create connection objects.- Parameters:
connectionSupport
- theTcpNetConnectionSupport
.- Returns:
- the spec.
- See Also:
-
socketFactorySupport
public TcpNetClientConnectionFactorySpec socketFactorySupport(TcpSocketFactorySupport tcpSocketFactorySupport) Set theTcpSocketFactorySupport
used to create server sockets.- Parameters:
tcpSocketFactorySupport
- theTcpSocketFactorySupport
- Returns:
- the spec.
- See Also:
-