spring-framework / org.springframework.context.annotation / EnableMBeanExport / <init>

<init>

EnableMBeanExport(defaultDomain: String, server: String, registration: RegistrationPolicy)

Enables default exporting of all standard MBeans from the Spring context, as well as well all @ManagedResource annotated beans.

The resulting org.springframework.jmx.export.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.

Author
Phillip Webb

Since
3.2

See Also
MBeanExportConfiguration