Spring Framework

org.springframework.jmx.export.assembler
Interface MBeanInfoAssembler

All Known Subinterfaces:
AutodetectCapableMBeanInfoAssembler
All Known Implementing Classes:
AbstractConfigurableMBeanInfoAssembler, AbstractMBeanInfoAssembler, AbstractReflectiveMBeanInfoAssembler, InterfaceBasedMBeanInfoAssembler, MetadataMBeanInfoAssembler, MethodExclusionMBeanInfoAssembler, MethodNameBasedMBeanInfoAssembler, SimpleReflectiveMBeanInfoAssembler

public interface MBeanInfoAssembler

Interface to be implemented by all classes that can create management interface metadata for a managed resource.

Used by the MBeanExporter to generate the management interface for any bean that is not an MBean.

Since:
1.2
Author:
Rob Harrop, Juergen Hoeller
See Also:
MBeanExporter

Method Summary
 javax.management.modelmbean.ModelMBeanInfo getMBeanInfo(java.lang.Object managedBean, java.lang.String beanKey)
          Create the ModelMBeanInfo for the given managed resource.
 

Method Detail

getMBeanInfo

javax.management.modelmbean.ModelMBeanInfo getMBeanInfo(java.lang.Object managedBean,
                                                        java.lang.String beanKey)
                                                        throws javax.management.JMException
Create the ModelMBeanInfo for the given managed resource.

Parameters:
managedBean - the bean that will be exposed (might be an AOP proxy)
beanKey - the key associated with the managed bean
Returns:
the ModelMBeanInfo metadata object
Throws:
javax.management.JMException - in case of errors

Spring Framework