クラス ParentAwareNamingStrategy
java.lang.ObjectSE
org.springframework.jmx.export.naming.MetadataNamingStrategy
org.springframework.boot.autoconfigure.jmx.ParentAwareNamingStrategy
- 実装されているすべてのインターフェース:
Aware, InitializingBean, ApplicationContextAware, ObjectNamingStrategy
public class ParentAwareNamingStrategy
extends MetadataNamingStrategy
implements ApplicationContextAware
親
ApplicationContext をサポートする MetadataNamingStrategy の拡張。- 導入:
- 1.1.1
- 作成者:
- Dave Syer
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明getObjectName(ObjectSE managedBean, @Nullable StringSE beanKey) voidsetApplicationContext(ApplicationContext applicationContext) voidsetEnsureUniqueRuntimeObjectNames(boolean ensureUniqueRuntimeObjectNames) 固有のランタイムオブジェクト名を確保する必要がある場合に設定します。クラス MetadataNamingStrategy から継承されたメソッド
afterPropertiesSet, setAttributeSource, setDefaultDomain
コンストラクターの詳細
ParentAwareNamingStrategy
メソッドの詳細
setEnsureUniqueRuntimeObjectNames
public void setEnsureUniqueRuntimeObjectNames(boolean ensureUniqueRuntimeObjectNames) 固有のランタイムオブジェクト名を確保する必要がある場合に設定します。- パラメーター:
ensureUniqueRuntimeObjectNames- 一意の名前を確保する必要がある場合はtrue。
setApplicationContext
- 次で指定:
- インターフェース
ApplicationContextAwareのsetApplicationContext - 例外:
BeansException
getObjectName
public ObjectNameSE getObjectName(ObjectSE managedBean, @Nullable StringSE beanKey) throws MalformedObjectNameExceptionSE - 次で指定:
- インターフェース
ObjectNamingStrategyのgetObjectName - オーバーライド:
- クラス
MetadataNamingStrategyのgetObjectName - 例外:
MalformedObjectNameExceptionSE