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

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

The Spring Framework

org.springframework.jmx.export.assembler
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:
MBeanExporter

Method Summary
 ModelMBeanInfo getMBeanInfo(Object managedBean, String beanKey)
          Create the ModelMBeanInfo for the given managed resource.
 

Method Detail

getMBeanInfo

ModelMBeanInfo getMBeanInfo(Object managedBean,
                            String beanKey)
                            throws JMException
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

The Spring Framework

Copyright © 2002-2007 The Spring Framework.