|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InstrumentationAgent
| Method Summary | |
|---|---|
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 |
unregister(ObjectName name)
Unregisters component based upon registered name |
| Method Detail |
|---|
void register(Object obj,
ObjectName name)
throws JMException
obj - name -
JMException
void register(Object obj,
ObjectName name,
boolean forceRegistration)
throws JMException
obj - name - forceRegistration - if set to true, then component will be registered despite existing component.
JMException
void unregister(ObjectName name)
throws JMException
name -
JMExceptionMBeanServer getMBeanServer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||