クラス 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, Glenn Renfro
コンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明protected ApplicationContextgetBeansOfType(ClassSE<T> type) アプリケーションコンテキストから、指定された型の Bean を取得します。getGraph()キャッシュされたグラフを返します。voidrebuild()グラフを再構築し、再キャッシュして、返します。voidsetAdditionalPropertiesCallback(@Nullable FunctionSE<NamedComponent, MapSE<StringSE, ObjectSE>> additionalPropertiesCallback) voidsetApplicationContext(ApplicationContext applicationContext) voidsetApplicationName(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- プロパティに使用するFunctionSE。- 導入:
- 5.1
onApplicationEvent
- 次で指定:
- インターフェース
ApplicationListener<ContextRefreshedEvent>内のonApplicationEvent
getGraph
キャッシュされたグラフを返します。グラフはキャッシュされますが、その中のデータ(統計など)は動的です。- 戻り値:
- グラフ。
- 関連事項:
rebuild
グラフを再構築し、再キャッシュして、返します。アプリケーションコンポーネントが変更(追加または削除)された場合は、この方法を使用します。- 戻り値:
- グラフ。
- 関連事項:
getBeansOfType
アプリケーションコンテキストから、指定された型の Bean を取得します。このメソッドは、いくつかのカスタムロジックに拡張できます。親アプリケーションコンテキストからも Bean を取得します。- 型パラメーター:
T- 取得する Bean の型- パラメーター:
type- 取得する Bean の型- 戻り値:
- 提供された型の Bean の
MapSE - 導入:
- 5.1