- All Implemented Interfaces:
- org.springframework.jmx.export.assembler.MBeanInfoAssembler
public class AnnotationMBeanInfoAssembler
extends org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler
This assembler is a hybrid of InterfaceBasedMBeanInfoAssembler
and MetadataMBeanInfoAssembler
.
It auto-detects jmx interface either by *-MBean naming convention or by looking for @ManagedResource annotated interface.
Any getter, setter or operation of jmx interface become JMX-exposed.
Bean, operation, operation parameter and attribute descriptions can be customized by using spring annotations
(like for MetadataMBeanInfoAssembler).
If getter or setter is annotated as @ManagedOperation, it is considered as heavy operation.
Such method is exposed as operation, not as attribute accessor.