Annotation Interface EnableMBeanExport
Enables default exporting of all standard
MBeans from the Framework context, as
well as well 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 Framework XML's
<context:mbean-export/> element.
- 从以下版本开始:
- 4.0 2022/3/7 23:06
- 作者:
- Phillip Webb, Harry Yang
- 另请参阅:
-
可选元素概要
可选元素修饰符和类型可选元素说明The 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.
-
元素详细资料
-
defaultDomain
String defaultDomainThe default domain to use when generating JMX ObjectNames.- 默认值:
- ""
-
server
String serverThe bean name of the MBeanServer to which MBeans should be exported. Default is to use the platform's default MBeanServer.- 默认值:
- ""
-
registration
RegistrationPolicy registrationThe policy to use when attempting to register an MBean under anObjectNamethat already exists. Defaults toRegistrationPolicy.FAIL_ON_EXISTING.- 默认值:
- FAIL_ON_EXISTING
-