org.apache.camel.management
Class MBeanInfoAssembler
java.lang.Object
org.apache.camel.management.MBeanInfoAssembler
public class MBeanInfoAssembler
- extends Object
A Camel specific MBeanInfo assembler that reads the
details from the ManagedResource, ManagedAttribute, ManagedOperation,
ManagedNotification, and ManagedNotifications annotations.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanInfoAssembler
public MBeanInfoAssembler()
getMBeanInfo
public ModelMBeanInfo getMBeanInfo(Object defaultManagedBean,
Object customManagedBean,
String objectName)
throws JMException
- Gets the
ModelMBeanInfo for the given managed bean
- Parameters:
defaultManagedBean - the default managed beancustomManagedBean - an optional custom managed beanobjectName - the object name
- Returns:
- the model info, or null if not possible to create, for example due the managed bean is a proxy class
- Throws:
JMException - is thrown if error creating the model info
Apache CAMEL