接口 MBeanInfoAssembler

所有已知子接口:
AutodetectCapableMBeanInfoAssembler
所有已知实现类:
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.

从以下版本开始:
4.0
作者:
Rob Harrop, Juergen Hoeller
另请参阅:
  • 方法概要

    修饰符和类型
    方法
    说明
    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