|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.management.MBeanInfoAssembler
public class MBeanInfoAssembler
A Camel specific MBeanInfo assembler that reads the
details from the ManagedResource, ManagedAttribute, ManagedOperation,
ManagedNotification, and ManagedNotifications annotations.
| Constructor Summary | |
|---|---|
MBeanInfoAssembler()
|
|
MBeanInfoAssembler(CamelContext camelContext)
Deprecated. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MBeanInfoAssembler()
@Deprecated public MBeanInfoAssembler(CamelContext camelContext)
| Method Detail |
|---|
public void start()
throws Exception
Service
start in interface ServiceException - is thrown if starting failed
public void stop()
throws Exception
Service
stop in interface ServiceException - is thrown if stopping failed
public ModelMBeanInfo getMBeanInfo(Object defaultManagedBean,
Object customManagedBean,
String objectName)
throws JMException
ModelMBeanInfo for the given managed bean
defaultManagedBean - the default managed beancustomManagedBean - an optional custom managed beanobjectName - the object name
JMException - is thrown if error creating the model info
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||