接口 MBeanInfoAssembler
- 所有已知实现类:
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.- 从以下版本开始:
- 1.2
- 作者:
- Rob Harrop, Juergen Hoeller
- 另请参阅:
MBeanExporter
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 ModelMBeanInfo
getMBeanInfo(Object managedBean, String beanKey)
Create the ModelMBeanInfo for the given managed resource.
方法详细资料
getMBeanInfo
ModelMBeanInfo getMBeanInfo(Object managedBean, String beanKey) throws JMException
Create the ModelMBeanInfo for the given managed resource.- 参数:
managedBean
- the bean that will be exposed (might be an AOP proxy)beanKey
- the key associated with the managed bean- 返回:
- the ModelMBeanInfo metadata object
- 抛出:
JMException
- in case of errors