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.


Method Summary
 ModelMBean assemble(MBeanServer mBeanServer, Object obj, ObjectName name)
          Assemble the ModelMBean.
 

Method Detail

assemble

ModelMBean assemble(MBeanServer mBeanServer,
                    Object obj,
                    ObjectName name)
                    throws JMException
Assemble the ModelMBean.

Parameters:
mBeanServer - the mbean server
obj - the object
name - 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