|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.management.jmx.type.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.jmx.type.JMXConnectorPolicyType |
---|
daemon, enabled, jmxServiceURL, threaded |
Constructor Summary | |
---|---|
InstrumentationManagerImpl()
|
|
InstrumentationManagerImpl(Bus bus)
|
Method Summary | |
---|---|
Bus |
getBus()
|
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()
|
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()
|
ObjectName |
register(ManagedComponent i)
Register a component with management infrastructure. |
ObjectName |
register(ManagedComponent i,
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 |
setBus(Bus bus)
|
void |
setCreateMBServerConnectorFactory(boolean createMBServerConnectorFactory)
|
void |
setPersistentBusId(String id)
|
void |
setServer(MBeanServer server)
|
void |
setServerName(String s)
|
void |
setUsePlatformMBeanServer(Boolean flag)
|
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 |
Methods inherited from class org.apache.cxf.management.jmx.type.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()
public InstrumentationManagerImpl(Bus bus)
Method Detail |
---|
public Bus getBus()
public void setBus(Bus bus)
public void setServerName(String s)
public void setCreateMBServerConnectorFactory(boolean createMBServerConnectorFactory)
public void setUsePlatformMBeanServer(Boolean flag)
@PostConstruct public void register()
@PostConstruct public void init()
public void register(Object obj, ObjectName name) throws JMException
InstrumentationManager
register
in interface InstrumentationManager
JMException
public void register(Object obj, ObjectName name, boolean forceRegistration) throws JMException
InstrumentationManager
register
in interface InstrumentationManager
forceRegistration
- if set to true, then component will be registered despite existing component.
JMException
public ObjectName register(ManagedComponent i) throws JMException
InstrumentationManager
register
in interface InstrumentationManager
JMException
public ObjectName register(ManagedComponent i, boolean forceRegistration) throws JMException
InstrumentationManager
register
in interface InstrumentationManager
forceRegistration
- if set to true, then component will be registered despite existing component.
JMException
public void unregister(ManagedComponent component) throws JMException
InstrumentationManager
unregister
in interface InstrumentationManager
JMException
public void unregister(ObjectName name) throws JMException
InstrumentationManager
unregister
in interface InstrumentationManager
JMException
public MBeanServer getMBeanServer()
InstrumentationManager
getMBeanServer
in interface InstrumentationManager
public void setServer(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
public String getPersistentBusId()
getPersistentBusId
in interface InstrumentationManager
public void setPersistentBusId(String id)
setPersistentBusId
in interface InstrumentationManager
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |