|
||||||||||
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 |
setCreateMBServerConnectorFactory(boolean createMBServerConnectorFactory)
|
void |
setServer(javax.management.MBeanServer server)
|
void |
setServerName(java.lang.String s)
|
void |
setUsePlatformMBeanServer(java.lang.Boolean flag)
|
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)
public void setServerName(java.lang.String s)
public void setCreateMBServerConnectorFactory(boolean createMBServerConnectorFactory)
public void setUsePlatformMBeanServer(java.lang.Boolean flag)
@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 InstrumentationManager
javax.management.JMException
public void register(java.lang.Object obj, javax.management.ObjectName name, boolean forceRegistration) throws javax.management.JMException
InstrumentationManager
register
in interface InstrumentationManager
forceRegistration
- 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 InstrumentationManager
javax.management.JMException
public javax.management.ObjectName register(ManagedComponent i, boolean forceRegistration) throws javax.management.JMException
InstrumentationManager
register
in interface InstrumentationManager
forceRegistration
- 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 InstrumentationManager
javax.management.JMException
public void unregister(javax.management.ObjectName name) throws javax.management.JMException
InstrumentationManager
unregister
in interface InstrumentationManager
javax.management.JMException
public javax.management.MBeanServer getMBeanServer()
InstrumentationManager
getMBeanServer
in interface InstrumentationManager
public void setServer(javax.management.MBeanServer server)
public void shutdown()
InstrumentationManager
shutdown
in interface InstrumentationManager
public void initComplete()
BusLifeCycleListener
Bus
has been initialized.
initComplete
in interface BusLifeCycleListener
public void preShutdown()
BusLifeCycleListener
Bus
is shutdown.
preShutdown
in interface BusLifeCycleListener
public void postShutdown()
BusLifeCycleListener
Bus
is shutdown.
postShutdown
in interface BusLifeCycleListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |