クラス EndpointSpec<S extends EndpointSpec<S,F,H>,F extends BeanNameAware & FactoryBean<? extends AbstractEndpoint>,H>
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec <S、reactor.util.function.Tuple2<F、H>>
org.springframework.integration.dsl.EndpointSpec<S,F,H>
- 型パラメーター:
S
- ターゲットConsumerEndpointSpec
実装型。F
- ターゲットBeanNameAware
実装型。H
- ターゲットMessageHandler
実装型。
- 実装されたすべてのインターフェース:
DisposableBean
、FactoryBean<reactor.util.function.Tuple2<F,
、H>> InitializingBean
、Lifecycle
、Phased
、SmartLifecycle
、ComponentsRegistration
- 既知の直属サブクラス
ConsumerEndpointSpec
,SourcePollingChannelAdapterSpec
public abstract class EndpointSpec<S extends EndpointSpec<S,F,H>,F extends BeanNameAware & FactoryBean<? extends AbstractEndpoint>,H>
extends IntegrationComponentSpec<S,reactor.util.function.Tuple2<F,H>>
implements ComponentsRegistration
エンドポイントの
IntegrationComponentSpec
。- 導入:
- 5.0
- 作成者:
- Artem Bilan, Gary Russell
フィールドのサマリー
フィールドクラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたフィールド
logger, PARSER, target
インターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTE
インターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASE
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected void
abstract S
autoStartup
(boolean autoStartup) doGet()
コンポーネント識別子を構成します。protected MessageChannel
提供されたIntegrationFlow
の入力としてMessageChannel
を取得するか、IntegrationFlow
を作成して、提供されたフローを新しいものにラップしてみてください。protected MessageChannel
obtainInputChannelFromFlow
(IntegrationFlow subFlow, boolean evaluateInternalBuilder) 提供されたIntegrationFlow
の入力としてMessageChannel
を取得するか、IntegrationFlow
を作成して、提供されたフローを新しいものにラップしてみてください。abstract S
phase
(int phase) poller
(FunctionSE<PollerFactory, PollerSpec> pollers) poller
(PollerSpec pollerMetadataSpec) abstract S
poller
(PollerMetadata pollerMetadata) abstract S
エンドポイントのロールを指定します。クラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたメソッド
_this, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.beans.factory.FactoryBean から継承されたメソッド
isSingleton
フィールドの詳細
componentsToRegister
endpointFactoryBean
protected final F extends BeanNameAware & FactoryBean<? extends AbstractEndpoint> endpointFactoryBeanhandler
コンストラクターの詳細
EndpointSpec
メソッドの詳細
id
クラスからコピーされた説明:IntegrationComponentSpec
コンポーネント識別子を構成します。このコンポーネントのアプリケーションコンテキストに Bean を登録するためのbeanName
として使用されます。- オーバーライド:
- クラス
IntegrationComponentSpec<S extends EndpointSpec<S,
のF, H>, reactor.util.function.Tuple2<F extends BeanNameAware & FactoryBean<? extends AbstractEndpoint>, H>> id
- パラメーター:
id
- ID。- 戻り値:
- スペック。
poller
- パラメーター:
pollers
- ポーラー- 戻り値:
- エンドポイント仕様。
- 関連事項:
poller
- パラメーター:
pollerMetadataSpec
- pollerMetadataSpec- 戻り値:
- エンドポイント仕様。
- 関連事項:
poller
- パラメーター:
pollerMetadata
- pollerMetadata- 戻り値:
- エンドポイント仕様。
- 関連事項:
phase
- パラメーター:
phase
- フェーズ。- 戻り値:
- エンドポイント仕様。
- 関連事項:
autoStartup
- パラメーター:
autoStartup
- autoStartup。- 戻り値:
- エンドポイント仕様
- 関連事項:
role
getComponentsToRegister
- 次で指定:
- インターフェース
ComponentsRegistration
のgetComponentsToRegister
doGet
- オーバーライド:
- クラス
IntegrationComponentSpec<S extends EndpointSpec<S,
のF, H>, reactor.util.function.Tuple2<F extends BeanNameAware & FactoryBean<? extends AbstractEndpoint>, H>> doGet
assertHandler
protected void assertHandler()obtainInputChannelFromFlow
提供されたIntegrationFlow
の入力としてMessageChannel
を取得するか、IntegrationFlow
を作成して、提供されたフローを新しいものにラップしてみてください。- パラメーター:
subFlow
- 入力チャネルを抽出するためのIntegrationFlow
。- 戻り値:
- 作成フローの入力チャネル
- 導入:
- 5.0.4
obtainInputChannelFromFlow
protected MessageChannel obtainInputChannelFromFlow(IntegrationFlow subFlow, boolean evaluateInternalBuilder) 提供されたIntegrationFlow
の入力としてMessageChannel
を取得するか、IntegrationFlow
を作成して、提供されたフローを新しいものにラップしてみてください。- パラメーター:
subFlow
- 入力チャネルを抽出するためのIntegrationFlow
。evaluateInternalBuilder
- 内部IntegrationFlowDefinition
をIntegrationFlow
コンポーネントに対して評価する必要がある場合、または将来のユースケースのためにcomponentsToRegister
のビルダーとして残す必要がある場合は true。たとえば、ビルダーは、親子依存関係の Bean 登録順序を保持するルーター構成に使用されます。- 戻り値:
- 作成フローの入力チャネル
- 導入:
- 5.0.4