|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.management.JMXConnectorPolicyType
org.apache.cxf.management.jmx.InstrumentationManagerImpl
public class InstrumentationManagerImpl
The manager class for the JMXManagedComponent which hosts the JMXManagedComponents.
| Field Summary |
|---|
| Fields inherited from class org.apache.cxf.management.JMXConnectorPolicyType |
|---|
daemon, enabled, jmxServiceURL, threaded |
| Constructor Summary | |
|---|---|
InstrumentationManagerImpl()
|
|
| Method Summary | |
|---|---|
Bus |
getBus()
|
javax.management.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 |
init()
|
void |
initComplete()
Invoked when the Bus has been initialized. |
void |
postShutdown()
Invoked after the Bus is shutdown. |
void |
preShutdown()
Invoked before the Bus is shutdown. |
void |
register()
|
javax.management.ObjectName |
register(ManagedComponent i)
Register a component with management infrastructure. |
javax.management.ObjectName |
register(ManagedComponent i,
boolean forceRegistration)
Register a component with management infrastructure. |
void |
register(java.lang.Object obj,
javax.management.ObjectName name)
Registers object with management infrastructure with a specific name. |
void |
register(java.lang.Object obj,
javax.management.ObjectName name,
boolean forceRegistration)
Registers object with management infrastructure with a specific name. |
void |
setBus(Bus bus)
|
void |
shutdown()
Cleans up and shutsdown management infrastructure. |
void |
unregister(ManagedComponent component)
Unregisters component with management infrastructure |
void |
unregister(javax.management.ObjectName name)
Unregisters component based upon registered name |
| Methods inherited from class org.apache.cxf.management.JMXConnectorPolicyType |
|---|
getJMXServiceURL, isDaemon, isEnabled, isThreaded, setDaemon, setEnabled, setJMXServiceURL, setThreaded |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstrumentationManagerImpl()
| Method Detail |
|---|
public Bus getBus()
public void setBus(Bus bus)
@PostConstruct public void register()
@PostConstruct public void init()
public void register(java.lang.Object obj,
javax.management.ObjectName name)
throws javax.management.JMException
InstrumentationManager
register in interface InstrumentationManagerjavax.management.JMException
public void register(java.lang.Object obj,
javax.management.ObjectName name,
boolean forceRegistration)
throws javax.management.JMException
InstrumentationManager
register in interface InstrumentationManagerforceRegistration - if set to true, then component will be registered despite existing component.
javax.management.JMException
public javax.management.ObjectName register(ManagedComponent i)
throws javax.management.JMException
InstrumentationManager
register in interface InstrumentationManagerjavax.management.JMException
public javax.management.ObjectName register(ManagedComponent i,
boolean forceRegistration)
throws javax.management.JMException
InstrumentationManager
register in interface InstrumentationManagerforceRegistration - if set to true, then component will be registered despite existing component.
javax.management.JMException
public void unregister(ManagedComponent component)
throws javax.management.JMException
InstrumentationManager
unregister in interface InstrumentationManagerjavax.management.JMException
public void unregister(javax.management.ObjectName name)
throws javax.management.JMException
InstrumentationManager
unregister in interface InstrumentationManagerjavax.management.JMExceptionpublic javax.management.MBeanServer getMBeanServer()
InstrumentationManager
getMBeanServer in interface InstrumentationManagerpublic void shutdown()
InstrumentationManager
shutdown in interface InstrumentationManagerpublic void initComplete()
BusLifeCycleListenerBus has been initialized.
initComplete in interface BusLifeCycleListenerpublic void preShutdown()
BusLifeCycleListenerBus is shutdown.
preShutdown in interface BusLifeCycleListenerpublic void postShutdown()
BusLifeCycleListenerBus is shutdown.
postShutdown in interface BusLifeCycleListener
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||