org.apache.cxf.management.jmx
Class InstrumentationManagerImpl

java.lang.Object
  extended by org.apache.cxf.management.JMXConnectorPolicyType
      extended by 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.


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()
           
 java.lang.String getPersistentBusId()
           
 void init()
           
 void initComplete()
           
 void postShutdown()
           
 void preShutdown()
           
 void register()
           
 javax.management.ObjectName register(ManagedComponent i)
           
 javax.management.ObjectName register(ManagedComponent i, boolean forceRegistration)
           
 void register(java.lang.Object obj, javax.management.ObjectName name)
           
 void register(java.lang.Object obj, javax.management.ObjectName name, boolean forceRegistration)
           
 void setBus(Bus bus)
           
 void setCreateMBServerConnectorFactory(boolean createMBServerConnectorFactory)
           
 void setPersistentBusId(java.lang.String id)
           
 void setServer(javax.management.MBeanServer server)
           
 void setServerName(java.lang.String s)
           
 void setUsePlatformMBeanServer(java.lang.Boolean flag)
           
 void shutdown()
           
 void unregister(ManagedComponent component)
           
 void unregister(javax.management.ObjectName 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

InstrumentationManagerImpl

public InstrumentationManagerImpl()
Method Detail

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