クラス StandardIntegrationFlowContext
java.lang.ObjectSE
org.springframework.integration.dsl.context.StandardIntegrationFlowContext
- 実装済みのインターフェース一覧:
Aware、BeanFactoryAware、IntegrationFlowContext
public final class StandardIntegrationFlowContext
extends ObjectSE
implements IntegrationFlowContext, BeanFactoryAware
IntegrationFlowContext の標準実装。- 導入:
- 5.1
- 作成者:
- Artem Bilan, Gary Russell, Alexander Shaklein, Artem Vozhdayenko
ネストされたクラスの概要
ネストされたクラスインターフェース org.springframework.integration.dsl.context.IntegrationFlowContext から継承されたネストクラス / インターフェース
IntegrationFlowContext.IntegrationFlowRegistration, IntegrationFlowContext.IntegrationFlowRegistrationBuilder方法の概要
修飾子と型メソッド説明getRegistrationById(StringSE flowId) 統合フロー名のIntegrationFlowContext.IntegrationFlowRegistrationインスタンスへのマッピングの状態を提供します。booleanisUseIdAsPrefix(StringSE flowId) true を返すと、フロー Bean 名の前にフロー ID とピリオドが付きます。messagingTemplateFor(StringSE flowId) registration(IntegrationFlow integrationFlow) アソシエイトは、IntegrationFlowにStandardIntegrationFlowContext.StandardIntegrationFlowRegistrationBuilderを提供して、アプリケーションコンテキストでの追加オプションとさらなる登録を実現しました。void提供されたflowIdのIntegrationFlowBean(およびそれに依存するすべての Bean)を破棄し、そのすべてのローカルキャッシュをクリーンアップします。voidsetBeanFactory(BeanFactory beanFactory)
方法の詳細
setBeanFactory
- 次で指定:
- インターフェース
BeanFactoryAware内のsetBeanFactory - 例外:
BeansException
registration
public StandardIntegrationFlowContext.StandardIntegrationFlowRegistrationBuilder registration(IntegrationFlow integrationFlow) アソシエイトは、IntegrationFlowにStandardIntegrationFlowContext.StandardIntegrationFlowRegistrationBuilderを提供して、アプリケーションコンテキストでの追加オプションとさらなる登録を実現しました。- 次で指定:
- インターフェース
IntegrationFlowContext内のregistration - パラメーター:
integrationFlow- 登録するIntegrationFlow- 戻り値:
- 提供された
IntegrationFlowに関連付けられた IntegrationFlowRegistrationBuilder
isUseIdAsPrefix
インターフェースからコピーされた説明:IntegrationFlowContexttrue を返すと、フロー Bean 名の前にフロー ID とピリオドが付きます。- 次で指定:
- インターフェース
IntegrationFlowContext内のisUseIdAsPrefix - パラメーター:
flowId- フロー ID。- 戻り値:
- プレフィックスとして使用する場合は true。
getRegistrationById
@Nullable public IntegrationFlowContext.IntegrationFlowRegistration getRegistrationById(StringSE flowId) - 次で指定:
- インターフェース
IntegrationFlowContext内のgetRegistrationById - パラメーター:
flowId- 取得する Bean 名- 戻り値:
- 提供された
idまたはnullの IntegrationFlowRegistration
remove
提供されたflowIdのIntegrationFlowBean(およびそれに依存するすべての Bean)を破棄し、そのすべてのローカルキャッシュをクリーンアップします。- 次で指定:
- インターフェース
IntegrationFlowContext内のremove - パラメーター:
flowId- 破棄する Bean 名
messagingTemplateFor
提供されたflowIdのIntegrationFlowの入力チャネルにデフォルトの宛先が設定されたMessagingTemplateを取得します。この方法では、任意の
IntegrationFlowBean(手動で登録しただけでなく)を使用できます。IntegrationFlowがMessageChannelで始まらない場合、IllegalStateExceptionSE がスローされます。- 次で指定:
- インターフェース
IntegrationFlowContext内のmessagingTemplateFor - パラメーター:
flowId- 入力チャネルを取得するための Bean 名- 戻り値:
MessagingTemplateインスタンス
getRegistry
統合フロー名のIntegrationFlowContext.IntegrationFlowRegistrationインスタンスへのマッピングの状態を提供します。- 次で指定:
- インターフェース
IntegrationFlowContext内のgetRegistry - 戻り値:
- フロー ID のレジストリとその登録。