Class TcpServerConnectionFactorySpec<S extends TcpServerConnectionFactorySpec<S,C>,C extends AbstractServerConnectionFactory>
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.TcpServerConnectionFactorySpec<S,C>
- Type Parameters:
S
- the targetTcpServerConnectionFactorySpec
implementation type.C
- the targetAbstractServerConnectionFactory
implementation type.
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<C>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
- Direct Known Subclasses:
TcpNetServerConnectionFactorySpec
,TcpNioServerConnectionFactorySpec
public abstract class TcpServerConnectionFactorySpec<S extends TcpServerConnectionFactorySpec<S,C>,C extends AbstractServerConnectionFactory>
extends AbstractConnectionFactorySpec<S,C>
- Since:
- 5.0
- Author:
- Gary Russell, Artem Bilan
-
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
ModifierConstructorDescriptionprotected
TcpServerConnectionFactorySpec
(int port) Deprecated.since 6.0.3; use a subclass.protected
TcpServerConnectionFactorySpec
(int port, boolean nio) Deprecated.since 6.0.3; use a subclass.protected
Create an instance. -
Method Summary
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
-
TcpServerConnectionFactorySpec
Create an instance.- Parameters:
cf
- the connection factory.- Since:
- 6.0.3
-
TcpServerConnectionFactorySpec
Deprecated.since 6.0.3; use a subclass.Create an instance.- Parameters:
port
- the port.
-
TcpServerConnectionFactorySpec
Deprecated.since 6.0.3; use a subclass.Create an instance.- Parameters:
port
- the port.nio
- true for NIO.
-
-
Method Details
-
localAddress
- Parameters:
localAddress
- the local address.- Returns:
- the spec.
- See Also:
-
backlog
- Parameters:
backlog
- the backlog.- Returns:
- the spec.
- See Also:
-