org.apache.camel.management
Class DefaultManagementMBeanAssembler
java.lang.Object
org.apache.camel.management.DefaultManagementMBeanAssembler
- All Implemented Interfaces:
- ManagementMBeanAssembler
public class DefaultManagementMBeanAssembler
- extends Object
- implements ManagementMBeanAssembler
An assembler to assemble a ModelMBean which can be used
to register the object in JMX. The assembler is capable of using the Camel JMX annotations to
gather the list of JMX operations and attributes.
- Version:
|
Field Summary |
protected org.slf4j.Logger |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.slf4j.Logger log
DefaultManagementMBeanAssembler
public DefaultManagementMBeanAssembler()
assemble
public ModelMBean assemble(MBeanServer mBeanServer,
Object obj,
ObjectName name)
throws JMException
- Description copied from interface:
ManagementMBeanAssembler
- Assemble the
ModelMBean.
- Specified by:
assemble in interface ManagementMBeanAssembler
- Parameters:
mBeanServer - the mbean serverobj - the objectname - the object name to use in JMX
- Returns:
- the assembled
ModelMBean, or null if not possible to assemble an MBean
- Throws:
JMException - is thrown if error assembling the mbean
Apache CAMEL