org.apache.camel.spi
Interface ManagementMBeanAssembler
- All Known Implementing Classes:
- DefaultManagementMBeanAssembler
public interface ManagementMBeanAssembler
An assembler to assemble a RequiredModelMBean which can be used
to register the object in JMX.
assemble
ModelMBean assemble(MBeanServer mBeanServer,
Object obj,
ObjectName name)
throws JMException
- Assemble the
ModelMBean.
- 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