Top Description Methods
org.springframework.jmx.export.assembler

public Interface MBeanInfoAssembler

Known Direct Subinterfaces
org.springframework.jmx.export.assembler.AutodetectCapableMBeanInfoAssembler
Known Direct Implementers
org.springframework.jmx.export.assembler.AbstractMBeanInfoAssembler
Imports
javax.management.JMException, javax.management.modelmbean.ModelMBeanInfo

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.

Authors
Rob Harrop, Juergen Hoeller
Since
1.2
See Also
org.springframework.jmx.export.MBeanExporter

Method Summary

Modifier and TypeMethod and Description
public ModelMBeanInfo

Returns:

the ModelMBeanInfo metadata object
getMBeanInfo
(Object
the bean that will be exposed (might be an AOP proxy)
managedBean
,
String
the key associated with the managed bean
beanKey
)

Create the ModelMBeanInfo for the given managed resource.

Method Detail

getMBeanInfoback to summary
public ModelMBeanInfo getMBeanInfo(Object managedBean, String beanKey) throws JMException

Create the ModelMBeanInfo for the given managed resource.

Parameters
managedBean:Object

the bean that will be exposed (might be an AOP proxy)

beanKey:String

the key associated with the managed bean

Returns:ModelMBeanInfo

the ModelMBeanInfo metadata object

Exceptions
JMException:
in case of errors