|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InstrumentationManager
InstrumentationManager interface for the instrumentations query, register and unregister
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 |
String |
getPersistentBusId()
|
ObjectName |
register(ManagedComponent component)
Register a component with management infrastructure. |
ObjectName |
register(ManagedComponent component,
boolean forceRegistration)
Register a component with management infrastructure. |
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 |
setPersistentBusId(String id)
|
void |
shutdown()
Cleans up and shutsdown management infrastructure. |
void |
unregister(ManagedComponent component)
Unregisters component with management infrastructure |
void |
unregister(ObjectName name)
Unregisters component based upon registered name |
Method Detail |
---|
ObjectName register(ManagedComponent component) throws JMException
component
-
JMException
ObjectName register(ManagedComponent component, boolean forceRegistration) throws JMException
component
- forceRegistration
- if set to true, then component will be registered despite existing component.
JMException
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(ManagedComponent component) throws JMException
component
-
JMException
void unregister(ObjectName name) throws JMException
name
-
JMException
void shutdown()
MBeanServer getMBeanServer()
String getPersistentBusId()
void setPersistentBusId(String id)
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |