Annotation Interface EnableMBeanExport
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Import(MBeanExportConfiguration.class)
public @interface EnableMBeanExport
Enables default exporting of all standard 
MBeans from the Spring context, as
 well as all @ManagedResource annotated beans.
 The resulting MBeanExporter
 bean is defined under the name "mbeanExporter". Alternatively, consider defining a
 custom AnnotationMBeanExporter bean explicitly.
 
This annotation is modeled after and functionally equivalent to Spring XML's
 <context:mbean-export/> element.
- Since:
- 3.2
- Author:
- Phillip Webb
- See Also:
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptionThe default domain to use when generating JMX ObjectNames.The policy to use when attempting to register an MBean under anObjectNamethat already exists.The bean name of the MBeanServer to which MBeans should be exported.
- 
Element Details- 
defaultDomainString defaultDomainThe default domain to use when generating JMX ObjectNames.- Default:
- ""
 
- 
serverString serverThe bean name of the MBeanServer to which MBeans should be exported. Default is to use the platform's default MBeanServer.- Default:
- ""
 
- 
registrationRegistrationPolicy registrationThe policy to use when attempting to register an MBean under anObjectNamethat already exists. Defaults toRegistrationPolicy.FAIL_ON_EXISTING.- Default:
- FAIL_ON_EXISTING
 
 
-