public interface ManagementMBeanAssembler extends StaticService
RequiredModelMBean
which can be used to register the
object in JMX.Modifier and Type | Method and Description |
---|---|
ModelMBean |
assemble(MBeanServer mBeanServer,
Object obj,
ObjectName name)
Assemble the
ModelMBean . |
ModelMBean assemble(MBeanServer mBeanServer, Object obj, ObjectName name) throws JMException
ModelMBean
.mBeanServer
- the mbean serverobj
- the objectname
- the object name to use in JMXModelMBean
, or null if not
possible to assemble an MBeanJMException
- is thrown if error assembling the mbeanApache Camel