public class DefaultManagementMBeanAssembler extends java.lang.Object implements ManagementMBeanAssembler
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.| Modifier and Type | Field and Description |
|---|---|
protected MBeanInfoAssembler |
assembler |
protected CamelContext |
camelContext |
| Constructor and Description |
|---|
DefaultManagementMBeanAssembler(CamelContext camelContext) |
| Modifier and Type | Method and Description |
|---|---|
javax.management.modelmbean.ModelMBean |
assemble(javax.management.MBeanServer mBeanServer,
java.lang.Object obj,
javax.management.ObjectName name)
Assemble the
ModelMBean. |
protected final MBeanInfoAssembler assembler
protected final CamelContext camelContext
public DefaultManagementMBeanAssembler(CamelContext camelContext)
public javax.management.modelmbean.ModelMBean assemble(javax.management.MBeanServer mBeanServer,
java.lang.Object obj,
javax.management.ObjectName name)
throws javax.management.JMException
ManagementMBeanAssemblerModelMBean.assemble in interface ManagementMBeanAssemblermBeanServer - the mbean serverobj - the objectname - the object name to use in JMXModelMBean, or null if not possible to assemble an MBeanjavax.management.JMException - is thrown if error assembling the mbeanCopyright © 2007-2014 Red Hat, Inc.. All Rights Reserved.