站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

AutodetectCapableMBeanInfoAssembler (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

org.springframework.jmx.export.assembler
Interface AutodetectCapableMBeanInfoAssembler

All Superinterfaces:
MBeanInfoAssembler
All Known Implementing Classes:
MetadataMBeanInfoAssembler

public interface AutodetectCapableMBeanInfoAssembler
extends MBeanInfoAssembler

Extends the MBeanInfoAssembler to add autodetection logic. Implementations of this interface are given the opportunity by the MBeanExporter to include additional beans in the registration process.

The exact mechanism for deciding which beans to include is left to implementing classes.

Since:
1.2
Author:
Rob Harrop
See Also:
MBeanExporter

Method Summary
 boolean includeBean(Class beanClass, String beanName)
          Indicate whether a particular bean should be included in the registration process, if it is not specified in the beans map of the MBeanExporter.
 
Methods inherited from interface org.springframework.jmx.export.assembler.MBeanInfoAssembler
getMBeanInfo
 

Method Detail

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 the beans map of the MBeanExporter.

Parameters:
beanClass - the class of the bean (might be a proxy class)
beanName - the name of the bean in the bean factory

The Spring Framework

Copyright © 2002-2007 The Spring Framework.