InterfaceBasedMBeanInfoAssembler()
Subclass of AbstractReflectiveMBeanInfoAssembler that allows for the management interface of a bean to be defined using arbitrary interfaces. Any methods or properties that are defined in those interfaces are exposed as MBean operations and attributes.
By default, this class votes on the inclusion of each operation or attribute based on the interfaces implemented by the bean class. However, you can supply an array of interfaces via the managedInterfaces property that will be used instead. If you have multiple beans and you wish each bean to use a different set of interfaces, then you can map bean keys (that is the name used to pass the bean to the MBeanExporter) to a list of interface names using the interfaceMappings property.
If you specify values for both interfaceMappings and managedInterfaces, Spring will attempt to find interfaces in the mappings first. If no interfaces for the bean are found, it will use the interfaces defined by managedInterfaces.
Author
Rob Harrop
Author
Juergen Hoeller
Since
1.2
See Also
#setManagedInterfaces#setInterfaceMappingsMethodNameBasedMBeanInfoAssemblerSimpleReflectiveMBeanInfoAssemblerorg.springframework.jmx.export.MBeanExporter