Class AbstractConnectionFactorySpec<S extends AbstractConnectionFactorySpec<S,​C>,​C extends AbstractConnectionFactory>

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>
Type Parameters:
S - the target AbstractConnectionFactorySpec implementation type.
C - the target AbstractConnectionFactory implementation type.
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<C>, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle
Direct Known Subclasses:
TcpClientConnectionFactorySpec, TcpServerConnectionFactorySpec

public abstract class AbstractConnectionFactorySpec<S extends AbstractConnectionFactorySpec<S,​C>,​C extends AbstractConnectionFactory>
extends org.springframework.integration.dsl.IntegrationComponentSpec<S,​C>
An IntegrationComponentSpec for AbstractConnectionFactorys.
Since:
5.0
  • 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

    Constructors 
    Modifier Constructor Description
    protected AbstractConnectionFactorySpec​(C connectionFactory)  
  • Method Summary

    Modifier and Type Method Description
    S deserializer​(org.springframework.core.serializer.Deserializer<?> deserializer)  
    S id​(java.lang.String id)  
    S interceptorFactoryChain​(TcpConnectionInterceptorFactoryChain interceptorFactoryChain)  
    S leaveOpen​(boolean leaveOpen)  
    S lookupHost​(boolean lookupHost)  
    S mapper​(TcpMessageMapper mapper)  
    S nioHarvestInterval​(int nioHarvestInterval)  
    S readDelay​(long readDelay)  
    S serializer​(org.springframework.core.serializer.Serializer<?> serializer)  
    S singleUseConnections​(boolean single)
    This connection factory uses a new connection for each operation.
    S soKeepAlive​(boolean soKeepAlive)  
    S soLinger​(int soLinger)  
    S soReceiveBufferSize​(int soReceiveBufferSize)  
    S soSendBufferSize​(int soSendBufferSize)  
    S soTcpNoDelay​(boolean soTcpNoDelay)  
    S soTimeout​(int soTimeout)  
    S soTrafficClass​(int soTrafficClass)  
    S taskExecutor​(java.util.concurrent.Executor taskExecutor)  
    S tcpSocketSupport​(TcpSocketSupport 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait