org.apache.aries.jmx.provisioning
Class ProvisioningServiceMBeanHandler

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

public class ProvisioningServiceMBeanHandler
extends AbstractCompendiumHandler

Implementation of MBeanHandler which manages the ProvisioningServiceMBean implementation

Version:
$Rev: 897315 $ $Date: 2010-01-08 20:13:13 +0000 (Fri, 08 Jan 2010) $
See Also:
MBeanHandler

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
ProvisioningServiceMBeanHandler(JMXAgentContext agentContext)
          Constructs new ProvisioningServiceMBeanHandler 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

ProvisioningServiceMBeanHandler

public ProvisioningServiceMBeanHandler(JMXAgentContext agentContext)
Constructs new ProvisioningServiceMBeanHandler 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.