Class TcpServerConnectionFactorySpec<S extends TcpServerConnectionFactorySpec<S,C>,C extends AbstractServerConnectionFactory>

java.lang.Object
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 target TcpServerConnectionFactorySpec implementation type.
C - the target AbstractServerConnectionFactory implementation type.
All Implemented Interfaces:
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:
TcpNetServerConnectionFactorySpec, TcpNioServerConnectionFactorySpec

public abstract class TcpServerConnectionFactorySpec<S extends TcpServerConnectionFactorySpec<S,C>,C extends AbstractServerConnectionFactory> extends AbstractConnectionFactorySpec<S,C>
Since:
5.0
  • Constructor Details

    • TcpServerConnectionFactorySpec

      protected TcpServerConnectionFactorySpec(C cf)
      Create an instance.
      Parameters:
      cf - the connection factory.
      Since:
      6.0.3
    • TcpServerConnectionFactorySpec

      @Deprecated protected TcpServerConnectionFactorySpec(int port)
      Deprecated.
      since 6.0.3; use a subclass.
      Create an instance.
      Parameters:
      port - the port.
    • TcpServerConnectionFactorySpec

      @Deprecated protected TcpServerConnectionFactorySpec(int port, boolean nio)
      Deprecated.
      since 6.0.3; use a subclass.
      Create an instance.
      Parameters:
      port - the port.
      nio - true for NIO.
  • Method Details