public class MBeanInfoAssembler extends Object implements org.apache.camel.Service
MBeanInfo
assembler that reads the
details from the ManagedResource
, ManagedAttribute
, ManagedOperation
,
ManagedNotification
, and ManagedNotifications
annotations.Constructor and Description |
---|
MBeanInfoAssembler() |
Modifier and Type | Method and Description |
---|---|
ModelMBeanInfo |
getMBeanInfo(org.apache.camel.CamelContext camelContext,
Object defaultManagedBean,
Object customManagedBean,
String objectName)
Gets the
ModelMBeanInfo for the given managed bean |
void |
start() |
void |
stop() |
public void start()
start
in interface org.apache.camel.Service
public void stop()
stop
in interface org.apache.camel.Service
public ModelMBeanInfo getMBeanInfo(org.apache.camel.CamelContext camelContext, Object defaultManagedBean, Object customManagedBean, String objectName) throws JMException
ModelMBeanInfo
for the given managed beandefaultManagedBean
- the default managed beancustomManagedBean
- an optional custom managed beanobjectName
- the object nameJMException
- is thrown if error creating the model infoApache Camel