Package org.apache.camel.spi
Interface ManagementMBeanAssembler
-
- All Superinterfaces:
AutoCloseable
,Service
,StaticService
public interface ManagementMBeanAssembler extends StaticService
An assembler to assemble aRequiredModelMBean
which can be used to register the object in JMX.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModelMBean
assemble(MBeanServer mBeanServer, Object obj, ObjectName name)
Assemble theModelMBean
.
-
-
-
Method Detail
-
assemble
ModelMBean assemble(MBeanServer mBeanServer, Object obj, ObjectName name) throws JMException
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
-
-