public class ParentAwareNamingStrategy
extends org.springframework.jmx.export.naming.MetadataNamingStrategy
implements org.springframework.context.ApplicationContextAware
MetadataNamingStrategy that supports a parent
ApplicationContext.| Constructor and Description |
|---|
ParentAwareNamingStrategy(org.springframework.jmx.export.metadata.JmxAttributeSource attributeSource) |
| Modifier and Type | Method and Description |
|---|---|
ObjectName |
getObjectName(Object managedBean,
String beanKey) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setEnsureUniqueRuntimeObjectNames(boolean ensureUniqueRuntimeObjectNames)
Set if unique runtime object names should be ensured.
|
public ParentAwareNamingStrategy(org.springframework.jmx.export.metadata.JmxAttributeSource attributeSource)
public void setEnsureUniqueRuntimeObjectNames(boolean ensureUniqueRuntimeObjectNames)
ensureUniqueRuntimeObjectNames - true if unique names should ensured.public ObjectName getObjectName(Object managedBean, String beanKey) throws MalformedObjectNameException
getObjectName in interface org.springframework.jmx.export.naming.ObjectNamingStrategygetObjectName in class org.springframework.jmx.export.naming.MetadataNamingStrategyMalformedObjectNameExceptionpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2019 Pivotal Software, Inc.. All rights reserved.