|
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.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 InstrumentationManagerJMException
public void register(Object obj,
ObjectName name,
boolean forceRegistration)
throws JMException
InstrumentationManager
register in interface InstrumentationManagerforceRegistration - if set to true, then component will be registered despite existing component.
JMException
public ObjectName register(ManagedComponent i)
throws JMException
InstrumentationManager
register in interface InstrumentationManagerJMException
public ObjectName register(ManagedComponent i,
boolean forceRegistration)
throws JMException
InstrumentationManager
register in interface InstrumentationManagerforceRegistration - if set to true, then component will be registered despite existing component.
JMException
public void unregister(ManagedComponent component)
throws JMException
InstrumentationManager
unregister in interface InstrumentationManagerJMException
public void unregister(ObjectName name)
throws JMException
InstrumentationManager
unregister in interface InstrumentationManagerJMExceptionpublic MBeanServer getMBeanServer()
InstrumentationManager
getMBeanServer in interface InstrumentationManagerpublic void setServer(MBeanServer server)
public 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 BusLifeCycleListenerpublic String getPersistentBusId()
getPersistentBusId in interface InstrumentationManagerpublic 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 | |||||||||