クラス 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
インスタンスへのマッピングの状態を提供します。boolean
isUseIdAsPrefix
(StringSE flowId) true を返すと、フロー Bean 名の前にフロー ID とピリオドが付きます。messagingTemplateFor
(StringSE flowId) registration
(IntegrationFlow integrationFlow) アソシエイトは、IntegrationFlow
にStandardIntegrationFlowContext.StandardIntegrationFlowRegistrationBuilder
を提供して、アプリケーションコンテキストでの追加オプションとさらなる登録を実現しました。void
提供されたflowId
のIntegrationFlow
Bean(およびそれに依存するすべての Bean)を破棄し、そのすべてのローカルキャッシュをクリーンアップします。void
setBeanFactory
(BeanFactory beanFactory)
メソッドの詳細
setBeanFactory
- 次で指定:
- インターフェース
BeanFactoryAware
のsetBeanFactory
- 例外:
BeansException
registration
public StandardIntegrationFlowContext.StandardIntegrationFlowRegistrationBuilder registration(IntegrationFlow integrationFlow) アソシエイトは、IntegrationFlow
にStandardIntegrationFlowContext.StandardIntegrationFlowRegistrationBuilder
を提供して、アプリケーションコンテキストでの追加オプションとさらなる登録を実現しました。- 次で指定:
- インターフェース
IntegrationFlowContext
のregistration
- パラメーター:
integrationFlow
- 登録するIntegrationFlow
- 戻り値:
- 提供された
IntegrationFlow
に関連付けられた IntegrationFlowRegistrationBuilder
isUseIdAsPrefix
インターフェースからコピーされた説明:IntegrationFlowContext
true を返すと、フロー Bean 名の前にフロー ID とピリオドが付きます。- 次で指定:
- インターフェース
IntegrationFlowContext
のisUseIdAsPrefix
- パラメーター:
flowId
- フロー ID。- 戻り値:
- プレフィックスとして使用する場合は true。
getRegistrationById
@Nullable public IntegrationFlowContext.IntegrationFlowRegistration getRegistrationById(StringSE flowId) - 次で指定:
- インターフェース
IntegrationFlowContext
のgetRegistrationById
- パラメーター:
flowId
- 取得する Bean 名- 戻り値:
- 提供された
id
またはnull
の IntegrationFlowRegistration
remove
提供されたflowId
のIntegrationFlow
Bean(およびそれに依存するすべての Bean)を破棄し、そのすべてのローカルキャッシュをクリーンアップします。- 次で指定:
- インターフェース
IntegrationFlowContext
のremove
- パラメーター:
flowId
- 破棄する Bean 名
messagingTemplateFor
提供されたflowId
のIntegrationFlow
の入力チャネルにデフォルトの宛先が設定されたMessagingTemplate
を取得します。この方法では、任意の
IntegrationFlow
Bean(手動で登録しただけでなく)を使用できます。IntegrationFlow
がMessageChannel
で始まらない場合、IllegalStateException
SE がスローされます。- 次で指定:
- インターフェース
IntegrationFlowContext
のmessagingTemplateFor
- パラメーター:
flowId
- 入力チャネルを取得するための Bean 名- 戻り値:
MessagingTemplate
インスタンス
getRegistry
統合フロー名のIntegrationFlowContext.IntegrationFlowRegistration
インスタンスへのマッピングの状態を提供します。- 次で指定:
- インターフェース
IntegrationFlowContext
のgetRegistry
- 戻り値:
- フロー ID のレジストリとその登録。