org.apache.aries.jmx.cm
Class ConfigurationAdminMBeanHandler

java.lang.Object
  extended by org.osgi.util.tracker.ServiceTracker
      extended by org.apache.aries.jmx.AbstractCompendiumHandler
          extended by org.apache.aries.jmx.cm.ConfigurationAdminMBeanHandler
All Implemented Interfaces:
MBeanHandler, org.osgi.util.tracker.ServiceTrackerCustomizer

public class ConfigurationAdminMBeanHandler
extends AbstractCompendiumHandler

Implementation of MBeanHandler which manages the ConfigurationAdminMBean implementation

Version:
$Rev: 897317 $ $Date: 2010-01-08 20:16:28 +0000 (Fri, 08 Jan 2010) $
See Also:


Field Summary
 
Fields inherited from class org.apache.aries.jmx.AbstractCompendiumHandler
agentContext, mbean, trackedId
 
Fields inherited from class org.osgi.util.tracker.ServiceTracker
context, filter
 
Constructor Summary
ConfigurationAdminMBeanHandler(JMXAgentContext agentContext)
          Constructs new ConfigurationAdminMBeanHandler instance
 
Method Summary
protected  StandardMBean constructInjectMBean(Object targetService)
          Implement this method to construct an appropriate StandardMBean instance which is backed by the supplied service tracked by this handler
 String getName()
          Gets name of the MBean.
 
Methods inherited from class org.apache.aries.jmx.AbstractCompendiumHandler
addingService, getMbean, removedService
 
Methods inherited from class org.osgi.util.tracker.ServiceTracker
close, getService, getService, getServiceReference, getServiceReferences, getServices, getTrackingCount, modifiedService, open, open, remove, size, waitForService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.aries.jmx.MBeanHandler
close, open
 

Constructor Detail

ConfigurationAdminMBeanHandler

public ConfigurationAdminMBeanHandler(JMXAgentContext agentContext)
Constructs new ConfigurationAdminMBeanHandler instance

Parameters:
agentContext - JMXAgentContext instance
Method Detail

constructInjectMBean

protected StandardMBean constructInjectMBean(Object targetService)
Description copied from class: AbstractCompendiumHandler
Implement this method to construct an appropriate StandardMBean instance which is backed by the supplied service tracked by this handler

Specified by:
constructInjectMBean in class AbstractCompendiumHandler
Parameters:
targetService - the compendium service tracked by this handler
Returns:
The StandardMBean instance whose registration lifecycle will be managed by this handler
See Also:
AbstractCompendiumHandler.constructInjectMBean(java.lang.Object)

getName

public String getName()
Description copied from interface: MBeanHandler
Gets name of the MBean.

Returns:
MBean name.
See Also:
MBeanHandler.getName()


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.