org.apache.sling.settings.impl
Class ServicesListener

java.lang.Object
  extended by org.apache.sling.settings.impl.ServicesListener

public class ServicesListener
extends Object

The ServicesListener listens for the required services and registers the settings service once all required services are available


Nested Class Summary
protected  class ServicesListener.Listener
          Helper class listening for service events for a defined service.
 
Constructor Summary
ServicesListener(org.osgi.framework.BundleContext bundleContext)
          Start listeners
 
Method Summary
 void deactivate()
          Deactivate this listener.
 void notifyChange()
          Notify of service changes from the listeners.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServicesListener

public ServicesListener(org.osgi.framework.BundleContext bundleContext)
Start listeners

Method Detail

notifyChange

public void notifyChange()
Notify of service changes from the listeners. If all services are available, register listener and pass resources to the OSGi installer.


deactivate

public void deactivate()
Deactivate this listener.



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