public class MBeanInfoAssembler extends Object implements Service
MBeanInfo assembler that reads the
details from the ManagedResource, ManagedAttribute, ManagedOperation,
ManagedNotification, and ManagedNotifications annotations.| Constructor and Description |
|---|
MBeanInfoAssembler() |
MBeanInfoAssembler(CamelContext camelContext)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ModelMBeanInfo |
getMBeanInfo(Object defaultManagedBean,
Object customManagedBean,
String objectName)
Gets the
ModelMBeanInfo for the given managed bean |
void |
start()
Starts the service
|
void |
stop()
Stops the service
|
public MBeanInfoAssembler()
@Deprecated public MBeanInfoAssembler(CamelContext camelContext)
public void start() throws Exception
Servicepublic void stop() throws Exception
Servicepublic ModelMBeanInfo getMBeanInfo(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