接口 AutodetectCapableMBeanInfoAssembler
- 所有超级接口:
MBeanInfoAssembler
- 所有已知实现类:
MetadataMBeanInfoAssembler
public interface AutodetectCapableMBeanInfoAssembler extends MBeanInfoAssembler
Extends theMBeanInfoAssembler
to add autodetection logic. Implementations of this interface are given the opportunity by theMBeanExporter
to include additional beans in the registration process.The exact mechanism for deciding which beans to include is left to implementing classes.
- 从以下版本开始:
- 1.2
- 作者:
- Rob Harrop
- 另请参阅:
MBeanExporter
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 boolean
includeBean(Class<?> beanClass, String beanName)
Indicate whether a particular bean should be included in the registration process, if it is not specified in thebeans
map of theMBeanExporter
.从接口继承的方法 org.springframework.jmx.export.assembler.MBeanInfoAssembler
getMBeanInfo
方法详细资料
includeBean
boolean includeBean(Class<?> beanClass, String beanName)
Indicate whether a particular bean should be included in the registration process, if it is not specified in thebeans
map of theMBeanExporter
.- 参数:
beanClass
- the class of the bean (might be a proxy class)beanName
- the name of the bean in the bean factory