Package org.apache.camel.spi
Interface ManagementMBeanAssembler
- All Superinterfaces:
AutoCloseable
,Service
,StaticService
An assembler to assemble a
RequiredModelMBean
which can be used to register the
object in JMX.-
Method Summary
Modifier and TypeMethodDescriptionassemble
(MBeanServer mBeanServer, Object obj, ObjectName name) Assemble theModelMBean
.
-
Method Details
-
assemble
Assemble theModelMBean
.- 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
-