|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.management.InstrumentationAgentImpl
public class InstrumentationAgentImpl
Constructor Summary | |
---|---|
InstrumentationAgentImpl()
|
Method Summary | |
---|---|
CamelContext |
getCamelContext()
|
MBeanServer |
getMBeanServer()
Get the MBeanServer which hosts managed components NOTE: if the configuration is not set the JMXEnabled to be true, this method will return null |
void |
register(Object obj,
ObjectName name)
Registers object with management infrastructure with a specific name. |
void |
register(Object obj,
ObjectName name,
boolean forceRegistration)
Registers object with management infrastructure with a specific name. |
void |
setCamelContext(CamelContext camelContext)
Injects the CamelContext |
void |
setMBeanServer(MBeanServer server)
|
void |
start()
|
void |
stop()
|
void |
unregister(ObjectName name)
Unregisters component based upon registered name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InstrumentationAgentImpl()
Method Detail |
---|
public CamelContext getCamelContext()
public void setCamelContext(CamelContext camelContext)
CamelContextAware
CamelContext
setCamelContext
in interface CamelContextAware
public void setMBeanServer(MBeanServer server)
public MBeanServer getMBeanServer()
InstrumentationAgent
getMBeanServer
in interface InstrumentationAgent
public void register(Object obj, ObjectName name) throws JMException
InstrumentationAgent
register
in interface InstrumentationAgent
JMException
public void register(Object obj, ObjectName name, boolean forceRegistration) throws JMException
InstrumentationAgent
register
in interface InstrumentationAgent
forceRegistration
- if set to true, then component will be registered despite existing component.
JMException
public void unregister(ObjectName name) throws JMException
InstrumentationAgent
unregister
in interface InstrumentationAgent
JMException
public void start()
public void stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |