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 targetTcpServerConnectionFactorySpecimplementation type.C- the targetAbstractServerConnectionFactoryimplementation 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, targetFields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
loggerFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTcpServerConnectionFactorySpec(int port) Deprecated.since 6.0.3; use a subclass.protectedTcpServerConnectionFactorySpec(int port, boolean nio) Deprecated.since 6.0.3; use a subclass.protectedCreate 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, tcpSocketSupportMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods 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:
-