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:
-
Method Summary
Modifier and TypeMethodDescriptiongetMBeanInfo
(Object managedBean, String beanKey) Create the ModelMBeanInfo for the given managed resource.
-
Method Details
-
getMBeanInfo
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:
JMException
- in case of errors
-