org.apache.cxf.management.jmx
Class InstrumentationManagerImpl
java.lang.Object
org.apache.cxf.management.JMXConnectorPolicyType
org.apache.cxf.management.jmx.InstrumentationManagerImpl
- All Implemented Interfaces:
- BusLifeCycleListener, InstrumentationManager
public class InstrumentationManagerImpl
- extends JMXConnectorPolicyType
- implements InstrumentationManager, 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 Bus getBus()
setBus
public void setBus(Bus bus)
setServerName
public void setServerName(java.lang.String s)
setCreateMBServerConnectorFactory
public void setCreateMBServerConnectorFactory(boolean createMBServerConnectorFactory)
setUsePlatformMBeanServer
public void setUsePlatformMBeanServer(java.lang.Boolean flag)
register
@PostConstruct
public void register()
init
@PostConstruct
public void init()
register
public void register(java.lang.Object obj,
javax.management.ObjectName name)
throws javax.management.JMException
- Specified by:
register in interface InstrumentationManager
- Throws:
javax.management.JMException
register
public void register(java.lang.Object obj,
javax.management.ObjectName name,
boolean forceRegistration)
throws javax.management.JMException
- Specified by:
register in interface InstrumentationManager
- Throws:
javax.management.JMException
register
public javax.management.ObjectName register(ManagedComponent i)
throws javax.management.JMException
- Specified by:
register in interface InstrumentationManager
- Throws:
javax.management.JMException
register
public javax.management.ObjectName register(ManagedComponent i,
boolean forceRegistration)
throws javax.management.JMException
- Specified by:
register in interface InstrumentationManager
- Throws:
javax.management.JMException
unregister
public void unregister(ManagedComponent component)
throws javax.management.JMException
- Specified by:
unregister in interface InstrumentationManager
- Throws:
javax.management.JMException
unregister
public void unregister(javax.management.ObjectName name)
throws javax.management.JMException
- Specified by:
unregister in interface InstrumentationManager
- Throws:
javax.management.JMException
getMBeanServer
public javax.management.MBeanServer getMBeanServer()
- Specified by:
getMBeanServer in interface InstrumentationManager
setServer
public void setServer(javax.management.MBeanServer server)
shutdown
public void shutdown()
- Specified by:
shutdown in interface InstrumentationManager
initComplete
public void initComplete()
- Specified by:
initComplete in interface BusLifeCycleListener
preShutdown
public void preShutdown()
- Specified by:
preShutdown in interface BusLifeCycleListener
postShutdown
public void postShutdown()
- Specified by:
postShutdown in interface BusLifeCycleListener
getPersistentBusId
public java.lang.String getPersistentBusId()
- Specified by:
getPersistentBusId in interface InstrumentationManager
setPersistentBusId
public void setPersistentBusId(java.lang.String id)
- Specified by:
setPersistentBusId in interface InstrumentationManager
Apache CXF