|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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(CamelContext camelContext)
|
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(CamelContext camelContext)
Method Detail |
---|
public void start() throws Exception
Service
start
in interface Service
Exception
- is thrown if starting failedpublic void stop() throws Exception
Service
stop
in interface Service
Exception
- is thrown if stopping failedpublic 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 |