类 AnnotationMBeanExporter
java.lang.Object
cn.taketoday.jmx.support.MBeanRegistrationSupport
cn.taketoday.jmx.export.MBeanExporter
cn.taketoday.jmx.export.annotation.AnnotationMBeanExporter
- 所有已实现的接口:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,InitializingBean,SmartInitializingSingleton,MBeanExportOperations
Convenient subclass of Framework's standard
MBeanExporter,
activating Java 5 annotation usage for JMX exposure of Framework beans:
ManagedResource, ManagedAttribute, ManagedOperation, etc.
Sets a MetadataNamingStrategy and a MetadataMBeanInfoAssembler
with an AnnotationJmxAttributeSource, and activates the
MBeanExporter.AUTODETECT_ALL mode by default.
- 从以下版本开始:
- 4.0
- 作者:
- Juergen Hoeller
-
字段概要
从类继承的字段 cn.taketoday.jmx.export.MBeanExporter
AUTODETECT_ALL, AUTODETECT_ASSEMBLER, AUTODETECT_MBEAN, AUTODETECT_NONE从类继承的字段 cn.taketoday.jmx.support.MBeanRegistrationSupport
log, server -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidsetBeanFactory(BeanFactory beanFactory) voidsetDefaultDomain(String defaultDomain) Specify the default domain to be used for generating ObjectNames when no source-level metadata has been specified.从类继承的方法 cn.taketoday.jmx.export.MBeanExporter
adaptMBeanIfPossible, addExcludedBean, afterPropertiesSet, afterSingletonsInstantiated, createAndConfigureMBean, createModelMBean, destroy, getObjectName, isBeanDefinitionLazyInit, isMBean, onRegister, onUnregister, registerBeanNameOrInstance, registerBeans, registerManagedResource, registerManagedResource, setAllowEagerInit, setAssembler, setAutodetect, setAutodetectMode, setAutodetectModeName, setBeanClassLoader, setBeans, setEnsureUniqueRuntimeObjectNames, setExcludedBeans, setExposeManagedResourceClassLoader, setListeners, setNamingStrategy, setNotificationListenerMappings, setNotificationListeners, unregisterManagedResource从类继承的方法 cn.taketoday.jmx.support.MBeanRegistrationSupport
doRegister, doUnregister, getRegisteredObjectNames, getServer, onRegister, setRegistrationPolicy, setServer, unregisterBeans
-
构造器详细资料
-
AnnotationMBeanExporter
public AnnotationMBeanExporter()
-
-
方法详细资料
-
setDefaultDomain
Specify the default domain to be used for generating ObjectNames when no source-level metadata has been specified.The default is to use the domain specified in the bean name (if the bean name follows the JMX ObjectName syntax); else, the package name of the managed bean class.
-
setBeanFactory
从类复制的说明:MBeanExporter
-