org.apache.cxf.management.jmx
Class InstrumentationManagerImpl
java.lang.Object
org.apache.cxf.management.JMXConnectorPolicyType
org.apache.cxf.management.jmx.InstrumentationManagerImpl
- All Implemented Interfaces:
- org.apache.cxf.buslifecycle.BusLifeCycleListener, org.apache.cxf.management.InstrumentationManager
public class InstrumentationManagerImpl
- extends JMXConnectorPolicyType
- implements org.apache.cxf.management.InstrumentationManager, org.apache.cxf.buslifecycle.BusLifeCycleListener
The manager class for the JMXManagedComponent which hosts the JMXManagedComponents.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstrumentationManagerImpl
public InstrumentationManagerImpl()
getBus
public org.apache.cxf.Bus getBus()
setBus
public void setBus(org.apache.cxf.Bus bus)
setServerName
public void setServerName(String s)
setCreateMBServerConnectorFactory
public void setCreateMBServerConnectorFactory(boolean createMBServerConnectorFactory)
setUsePlatformMBeanServer
public void setUsePlatformMBeanServer(Boolean flag)
register
@PostConstruct
public void register()
init
@PostConstruct
public void init()
register
public void register(Object obj,
ObjectName name)
throws JMException
- Specified by:
register in interface org.apache.cxf.management.InstrumentationManager
- Throws:
JMException
register
public void register(Object obj,
ObjectName name,
boolean forceRegistration)
throws JMException
- Specified by:
register in interface org.apache.cxf.management.InstrumentationManager
- Throws:
JMException
register
public ObjectName register(org.apache.cxf.management.ManagedComponent i)
throws JMException
- Specified by:
register in interface org.apache.cxf.management.InstrumentationManager
- Throws:
JMException
register
public ObjectName register(org.apache.cxf.management.ManagedComponent i,
boolean forceRegistration)
throws JMException
- Specified by:
register in interface org.apache.cxf.management.InstrumentationManager
- Throws:
JMException
unregister
public void unregister(org.apache.cxf.management.ManagedComponent component)
throws JMException
- Specified by:
unregister in interface org.apache.cxf.management.InstrumentationManager
- Throws:
JMException
unregister
public void unregister(ObjectName name)
throws JMException
- Specified by:
unregister in interface org.apache.cxf.management.InstrumentationManager
- Throws:
JMException
getMBeanServer
public MBeanServer getMBeanServer()
- Specified by:
getMBeanServer in interface org.apache.cxf.management.InstrumentationManager
setServer
public void setServer(MBeanServer server)
shutdown
public void shutdown()
- Specified by:
shutdown in interface org.apache.cxf.management.InstrumentationManager
initComplete
public void initComplete()
- Specified by:
initComplete in interface org.apache.cxf.buslifecycle.BusLifeCycleListener
preShutdown
public void preShutdown()
- Specified by:
preShutdown in interface org.apache.cxf.buslifecycle.BusLifeCycleListener
postShutdown
public void postShutdown()
- Specified by:
postShutdown in interface org.apache.cxf.buslifecycle.BusLifeCycleListener
getPersistentBusId
public String getPersistentBusId()
- Specified by:
getPersistentBusId in interface org.apache.cxf.management.InstrumentationManager
setPersistentBusId
public void setPersistentBusId(String id)
- Specified by:
setPersistentBusId in interface org.apache.cxf.management.InstrumentationManager
Apache CXF