クラス 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, StringSE beanKey) void
setApplicationContext
(ApplicationContext applicationContext) void
setEnsureUniqueRuntimeObjectNames
(boolean ensureUniqueRuntimeObjectNames) 固有のランタイムオブジェクト名を確保する必要がある場合に設定します。クラス org.springframework.jmx.export.naming.MetadataNamingStrategy から継承されたメソッド
afterPropertiesSet, setAttributeSource, setDefaultDomain
コンストラクターの詳細
ParentAwareNamingStrategy
メソッドの詳細
setEnsureUniqueRuntimeObjectNames
public void setEnsureUniqueRuntimeObjectNames(boolean ensureUniqueRuntimeObjectNames) 固有のランタイムオブジェクト名を確保する必要がある場合に設定します。- パラメーター:
ensureUniqueRuntimeObjectNames
- 一意の名前を確保する必要がある場合はtrue
。
setApplicationContext
- 次で指定:
- インターフェース
ApplicationContextAware
のsetApplicationContext
- 例外:
BeansException
getObjectName
public ObjectNameSE getObjectName(ObjectSE managedBean, StringSE beanKey) throws MalformedObjectNameExceptionSE - 次で指定:
- インターフェース
ObjectNamingStrategy
のgetObjectName
- オーバーライド:
- クラス
MetadataNamingStrategy
のgetObjectName
- 例外:
MalformedObjectNameExceptionSE