Class TcpNetServerConnectionFactorySpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<TcpNetServerConnectionFactorySpec, TcpNetServerConnectionFactory>
org.springframework.integration.ip.dsl.AbstractConnectionFactorySpec<TcpNetServerConnectionFactorySpec, TcpNetServerConnectionFactory>
org.springframework.integration.ip.dsl.TcpServerConnectionFactorySpec<TcpNetServerConnectionFactorySpec, TcpNetServerConnectionFactory>
org.springframework.integration.ip.dsl.TcpNetServerConnectionFactorySpec
- All Implemented Interfaces:
DisposableBean,FactoryBean<TcpNetServerConnectionFactory>,InitializingBean,Lifecycle,Phased,SmartLifecycle
public class TcpNetServerConnectionFactorySpec
extends TcpServerConnectionFactorySpec<TcpNetServerConnectionFactorySpec, TcpNetServerConnectionFactory>
- Since:
- 6.0.3
- Author:
- Gary Russell
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconnectionSupport(TcpNetConnectionSupport connectionSupport) TheTcpNetConnectionSupportto use to create connection objects.socketFactorySupport(TcpSocketFactorySupport tcpSocketFactorySupport) Set theTcpSocketFactorySupportused to create server sockets.Methods inherited from class org.springframework.integration.ip.dsl.TcpServerConnectionFactorySpec
backlog, localAddressMethods 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, taskExecutorMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
TcpNetServerConnectionFactorySpec
protected TcpNetServerConnectionFactorySpec(int port)
-
-
Method Details
-
connectionSupport
public TcpNetServerConnectionFactorySpec connectionSupport(TcpNetConnectionSupport connectionSupport) TheTcpNetConnectionSupportto use to create connection objects.- Parameters:
connectionSupport- theTcpNetConnectionSupport.- Returns:
- the spec.
- See Also:
-
socketFactorySupport
public TcpNetServerConnectionFactorySpec socketFactorySupport(TcpSocketFactorySupport tcpSocketFactorySupport) Set theTcpSocketFactorySupportused to create server sockets.- Parameters:
tcpSocketFactorySupport- theTcpSocketFactorySupport- Returns:
- the spec.
- See Also:
-