org.openmuc.webinterface.internal
Class PluginManager

java.lang.Object
  extended by org.osgi.util.tracker.ServiceTracker
      extended by org.openmuc.webinterface.internal.PluginManager
All Implemented Interfaces:
org.osgi.util.tracker.ServiceTrackerCustomizer

public class PluginManager
extends org.osgi.util.tracker.ServiceTracker


Field Summary
 
Fields inherited from class org.osgi.util.tracker.ServiceTracker
context, filter
 
Constructor Summary
PluginManager(org.osgi.framework.BundleContext context, org.osgi.service.http.HttpService httpService)
           
 
Method Summary
 java.lang.Object addingService(org.osgi.framework.ServiceReference reference)
           
 WebInterfacePlugin getPlugin(java.lang.String alias)
           
 java.util.Hashtable<java.lang.String,WebInterfacePlugin> getPlugins()
           
 void removedService(org.osgi.framework.ServiceReference reference, java.lang.Object service)
           
 
Methods inherited from class org.osgi.util.tracker.ServiceTracker
close, finalize, getService, getService, getServiceReference, getServiceReferences, getServices, getTrackingCount, modifiedService, open, open, remove, size, waitForService
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginManager

public PluginManager(org.osgi.framework.BundleContext context,
                     org.osgi.service.http.HttpService httpService)
Method Detail

addingService

public java.lang.Object addingService(org.osgi.framework.ServiceReference reference)
Specified by:
addingService in interface org.osgi.util.tracker.ServiceTrackerCustomizer
Overrides:
addingService in class org.osgi.util.tracker.ServiceTracker

removedService

public void removedService(org.osgi.framework.ServiceReference reference,
                           java.lang.Object service)
Specified by:
removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer
Overrides:
removedService in class org.osgi.util.tracker.ServiceTracker

getPlugin

public WebInterfacePlugin getPlugin(java.lang.String alias)

getPlugins

public java.util.Hashtable<java.lang.String,WebInterfacePlugin> getPlugins()