public class MBeanExporter
extends org.springframework.jmx.export.MBeanExporter
StandardMBean
if it complies to MyObject -> MyObjectMBean naming scheme.
AnnotationMBeanInfoAssembler to construct MBean descriptor for every bean.| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.jmx.export.annotation.AnnotationJmxAttributeSource |
jmxAttributeSource |
| Constructor and Description |
|---|
MBeanExporter() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.management.DynamicMBean |
adaptMBeanIfPossible(java.lang.Object bean) |
void |
afterSingletonsInstantiated() |
protected org.springframework.jmx.export.annotation.AnnotationJmxAttributeSource |
getJmxAttributeSource() |
protected boolean |
isMBean(java.lang.Class beanClass) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
addExcludedBean, afterPropertiesSet, createAndConfigureMBean, createModelMBean, destroy, getObjectName, isBeanDefinitionLazyInit, onRegister, onUnregister, registerBeanNameOrInstance, registerBeans, registerManagedResource, registerManagedResource, setAllowEagerInit, setAssembler, setAutodetect, setAutodetectMode, setAutodetectModeName, setBeanClassLoader, setBeans, setEnsureUniqueRuntimeObjectNames, setExcludedBeans, setExposeManagedResourceClassLoader, setListeners, setNamingStrategy, setNotificationListenerMappings, setNotificationListeners, unregisterManagedResourceprotected org.springframework.jmx.export.annotation.AnnotationJmxAttributeSource jmxAttributeSource
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwaresetBeanFactory in class org.springframework.jmx.export.MBeanExporterpublic void afterSingletonsInstantiated()
afterSingletonsInstantiated in interface org.springframework.beans.factory.SmartInitializingSingletonafterSingletonsInstantiated in class org.springframework.jmx.export.MBeanExporterprotected boolean isMBean(java.lang.Class beanClass)
isMBean in class org.springframework.jmx.export.MBeanExporterprotected javax.management.DynamicMBean adaptMBeanIfPossible(java.lang.Object bean)
throws javax.management.JMException
adaptMBeanIfPossible in class org.springframework.jmx.export.MBeanExporterjavax.management.JMExceptionprotected org.springframework.jmx.export.annotation.AnnotationJmxAttributeSource getJmxAttributeSource()