クラス TcpInboundChannelAdapterSpec
java.lang.ObjectSE
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,P>
org.springframework.integration.dsl.MessageProducerSpec<TcpInboundChannelAdapterSpec,TcpReceivingChannelAdapter>
org.springframework.integration.ip.dsl.TcpInboundChannelAdapterSpec
- 実装されているすべてのインターフェース:
Aware、BeanClassLoaderAware、BeanFactoryAware、DisposableBean、FactoryBean<TcpReceivingChannelAdapter>、InitializingBean、Lifecycle、Phased、SmartLifecycle、ComponentsRegistration
public class TcpInboundChannelAdapterSpec extends MessageProducerSpec<TcpInboundChannelAdapterSpec,TcpReceivingChannelAdapter> implements ComponentsRegistration
- 導入:
- 5.0
- 作成者:
- Gary Russell, Artem Bilan
フィールドのサマリー
フィールド 修飾子と型 フィールド 説明 protected AbstractConnectionFactoryconnectionFactoryコンストラクターの概要
コンストラクター 修飾子 コンストラクター 説明 protectedTcpInboundChannelAdapterSpec(AbstractConnectionFactorySpec<?,?> connectionFactorySpec)提供されている接続ファクトリ仕様を使用してインスタンスを構築します。protectedTcpInboundChannelAdapterSpec(AbstractConnectionFactory connectionFactoryBean)既存の spring-managed 接続ファクトリを使用してインスタンスを構築します。メソッドのサマリー
修飾子と型 メソッド 説明 TcpInboundChannelAdapterSpecclientMode(boolean isClientMode)MapSE<ObjectSE,StringSE>getComponentsToRegister()TcpInboundChannelAdapterSpecretryInterval(long retryInterval)TcpInboundChannelAdapterSpectaskScheduler(TaskScheduler taskScheduler)クラス org.springframework.integration.dsl.MessageProducerSpec から継承されたメソッド
autoStartup, errorChannel, errorChannel, errorMessageStrategy, id, outputChannel, outputChannel, phase, sendTimeout, shouldTrackクラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたメソッド
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopクラス org.springframework.beans.factory.config.AbstractFactoryBean から継承されたメソッド
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
フィールドの詳細
コンストラクターの詳細
TcpInboundChannelAdapterSpec
既存の spring-managed 接続ファクトリを使用してインスタンスを構築します。- パラメーター:
connectionFactoryBean- spring-managed Bean。
TcpInboundChannelAdapterSpec
提供されている接続ファクトリ仕様を使用してインスタンスを構築します。- パラメーター:
connectionFactorySpec- スペック。
メソッドの詳細
clientMode
- パラメーター:
isClientMode- クライアントモードで接続する場合は true- 戻り値:
- スペック。
- 関連事項:
TcpReceivingChannelAdapter.setClientMode(boolean)
retryInterval
- パラメーター:
retryInterval- 設定するクライアントモードの再試行間隔。- 戻り値:
- スペック。
- 関連事項:
TcpReceivingChannelAdapter.setRetryInterval(long)
taskScheduler
- パラメーター:
taskScheduler- クライアントモードで接続するためのスケジューラ。- 戻り値:
- スペック。
- 関連事項:
IntegrationObjectSupport.setTaskScheduler(TaskScheduler)
getComponentsToRegister
- 次で指定:
- インターフェース
ComponentsRegistrationのgetComponentsToRegister