クラス IntegrationGraphServer
java.lang.ObjectSE
org.springframework.integration.graph.IntegrationGraphServer
- 実装されたすべてのインターフェース:
EventListenerSE
、Aware
、ApplicationContextAware
、ApplicationListener<ContextRefreshedEvent>
@ImportRuntimeHints(org.springframework.integration.graph.IntegrationGraphRuntimeHints.class)
public class IntegrationGraphServer
extends ObjectSE
implements ApplicationContextAware, ApplicationListener<ContextRefreshedEvent>
ランタイムオブジェクトモデルグラフを作成します。
- 導入:
- 4.3
- 作成者:
- Gary Russell, Artem Bilan, Christian Tzolov
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected ApplicationContext
getBeansOfType
(ClassSE<T> type) アプリケーションコンテキストから、指定された型の Bean を取得します。getGraph()
キャッシュされたグラフを返します。void
rebuild()
グラフを再構築し、再キャッシュして、返します。void
setAdditionalPropertiesCallback
(FunctionSE<NamedComponent, MapSE<StringSE, ObjectSE>> additionalPropertiesCallback) void
setApplicationContext
(ApplicationContext applicationContext) void
setApplicationName
(StringSE applicationName) "name" キーの "contentDescriptor" に表示されるアプリケーション名を設定します。クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.context.ApplicationListener から継承されたメソッド
supportsAsyncExecution
コンストラクターの詳細
IntegrationGraphServer
public IntegrationGraphServer()
メソッドの詳細
setApplicationContext
- 次で指定:
- インターフェース
ApplicationContextAware
のsetApplicationContext
- 例外:
BeansException
getApplicationContext
setApplicationName
'name' キーの 'contentDescriptor' に表示されるアプリケーション名を設定します。指定されていない場合は、アプリケーションコンテキスト環境のプロパティ 'spring.application.name' が使用されます (存在する場合)。- パラメーター:
applicationName
- アプリケーション名。
setAdditionalPropertiesCallback
public void setAdditionalPropertiesCallback(@Nullable FunctionSE<NamedComponent, MapSE<StringSE, ObjectSE>> additionalPropertiesCallback) - パラメーター:
additionalPropertiesCallback
- プロパティに使用するFunction
SE。- 導入:
- 5.1
onApplicationEvent
- 次で指定:
- インターフェース
ApplicationListener<ContextRefreshedEvent>
のonApplicationEvent
getGraph
rebuild
グラフを再構築し、再キャッシュして、返します。アプリケーションコンポーネントが変更(追加または削除)された場合は、この方法を使用します。- 戻り値:
- グラフ。
- 関連事項:
getBeansOfType