Class TcpNioClientConnectionFactorySpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,C>
org.springframework.integration.ip.dsl.AbstractConnectionFactorySpec<S,C>
org.springframework.integration.ip.dsl.TcpClientConnectionFactorySpec<TcpNioClientConnectionFactorySpec,TcpNioClientConnectionFactory>
org.springframework.integration.ip.dsl.TcpNioClientConnectionFactorySpec
- All Implemented Interfaces:
DisposableBean,FactoryBean<TcpNioClientConnectionFactory>,InitializingBean,Lifecycle,Phased,SmartLifecycle
public class TcpNioClientConnectionFactorySpec
extends TcpClientConnectionFactorySpec<TcpNioClientConnectionFactorySpec,TcpNioClientConnectionFactory>
- 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(TcpNioConnectionSupport tcpNioSupport) TheTcpNioConnectionSupportto use.directBuffers(boolean usingDirectBuffers) True to use direct buffers.Methods inherited from class org.springframework.integration.ip.dsl.TcpClientConnectionFactorySpec
connectTimeoutMethods 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
-
TcpNioClientConnectionFactorySpec
-
-
Method Details
-
directBuffers
True to use direct buffers.- Parameters:
usingDirectBuffers- true for direct.- Returns:
- the spec.
- See Also:
-
connectionSupport
TheTcpNioConnectionSupportto use.- Parameters:
tcpNioSupport- theTcpNioConnectionSupport.- Returns:
- the spec.
- See Also:
-