org.apache.aries.jmx.permissionadmin
Class PermissionAdminMBeanHandler

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

public class PermissionAdminMBeanHandler
extends AbstractCompendiumHandler

PermissionAdminMBeanHandler represents MBeanHandler which holding information about PermissionAdminMBean.

Version:
$Rev: 896239 $ $Date: 2010-01-05 22:02:23 +0000 (Tue, 05 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
PermissionAdminMBeanHandler(JMXAgentContext agentContext)
          Constructs new PermissionAdminMBeanHandler.
 
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

PermissionAdminMBeanHandler

public PermissionAdminMBeanHandler(JMXAgentContext agentContext)
Constructs new PermissionAdminMBeanHandler.

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.