org.apache.felix.webconsole.plugins.event.internal
Class OptionalFeaturesHandler

java.lang.Object
  extended by org.apache.felix.webconsole.plugins.event.internal.OptionalFeaturesHandler
All Implemented Interfaces:
EventListener, ServiceListener

public class OptionalFeaturesHandler
extends Object
implements ServiceListener

This class handles all optional stuff. It listens for specific services and activates/deactivates features.


Constructor Summary
OptionalFeaturesHandler(PluginServlet plugin, BundleContext context)
           
 
Method Summary
 void destroy()
           
 void serviceChanged(ServiceEvent event)
          Receives notification that a service has had a lifecycle change.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionalFeaturesHandler

public OptionalFeaturesHandler(PluginServlet plugin,
                               BundleContext context)
Method Detail

destroy

public void destroy()
See Also:
GenericServlet.destroy()

serviceChanged

public void serviceChanged(ServiceEvent event)
Description copied from interface: ServiceListener
Receives notification that a service has had a lifecycle change.

Specified by:
serviceChanged in interface ServiceListener
Parameters:
event - The ServiceEvent object.
See Also:
ServiceListener.serviceChanged(org.osgi.framework.ServiceEvent)


Copyright © 2011 Apache Software Foundation. All Rights Reserved.