|
||||||||||
| 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)
CamelContextAwareCamelContext
setCamelContext in interface CamelContextAwarepublic 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 InstrumentationAgentJMException
public void register(Object obj,
ObjectName name,
boolean forceRegistration)
throws JMException
InstrumentationAgent
register in interface InstrumentationAgentforceRegistration - if set to true, then component will be registered despite existing component.
JMException
public void unregister(ObjectName name)
throws JMException
InstrumentationAgent
unregister in interface InstrumentationAgentJMExceptionpublic void start()
public void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||