|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.jmx.support.MBeanRegistrationSupport
org.springframework.jmx.export.MBeanExporter
org.springframework.jmx.export.annotation.AnnotationMBeanExporter
public class AnnotationMBeanExporter
Convenient subclass of Spring's standard MBeanExporter
,
activating Java 5 annotation usage for JMX exposure of Spring beans:
ManagedResource
, ManagedAttribute
, ManagedOperation
, etc.
Sets a MetadataNamingStrategy
and a MetadataMBeanInfoAssembler
with an AnnotationJmxAttributeSource
, and activates the
MBeanExporter.AUTODETECT_ALL
mode by default.
Field Summary |
---|
Fields inherited from class org.springframework.jmx.export.MBeanExporter |
---|
AUTODETECT_ALL, AUTODETECT_ASSEMBLER, AUTODETECT_MBEAN, AUTODETECT_NONE |
Fields inherited from class org.springframework.jmx.support.MBeanRegistrationSupport |
---|
logger, registeredBeans, REGISTRATION_FAIL_ON_EXISTING, REGISTRATION_IGNORE_EXISTING, REGISTRATION_REPLACE_EXISTING, server |
Constructor Summary | |
---|---|
AnnotationMBeanExporter()
|
Method Summary | |
---|---|
void |
setDefaultDomain(java.lang.String defaultDomain)
Specify the default domain to be used for generating ObjectNames when no source-level metadata has been specified. |
Methods inherited from class org.springframework.jmx.support.MBeanRegistrationSupport |
---|
doRegister, doUnregister, getRegisteredObjectNames, getServer, onRegister, setRegistrationBehavior, setRegistrationBehaviorName, setServer, unregisterBeans |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationMBeanExporter()
Method Detail |
---|
public void setDefaultDomain(java.lang.String defaultDomain)
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.
MetadataNamingStrategy.setDefaultDomain(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |