org.apache.felix.http.base.internal.listener
Class ServletContextAttributeListenerManager

java.lang.Object
  extended by org.osgi.util.tracker.ServiceTracker
      extended by org.apache.felix.http.base.internal.listener.AbstractListenerManager<javax.servlet.ServletContextAttributeListener>
          extended by org.apache.felix.http.base.internal.listener.ServletContextAttributeListenerManager
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextAttributeListener, ServiceTrackerCustomizer

public class ServletContextAttributeListenerManager
extends AbstractListenerManager<javax.servlet.ServletContextAttributeListener>
implements javax.servlet.ServletContextAttributeListener

The ProxyListener implements the Servlet API 2.4 listener interfaces forwarding any event calls to registered OSGi services implementing the respective Servlet API 2.4 listener interface.


Field Summary
 
Fields inherited from class org.osgi.util.tracker.ServiceTracker
context, filter
 
Constructor Summary
ServletContextAttributeListenerManager(BundleContext context)
           
 
Method Summary
 void attributeAdded(javax.servlet.ServletContextAttributeEvent scab)
           
 void attributeRemoved(javax.servlet.ServletContextAttributeEvent scab)
           
 void attributeReplaced(javax.servlet.ServletContextAttributeEvent scab)
           
 
Methods inherited from class org.apache.felix.http.base.internal.listener.AbstractListenerManager
addingService, getContextListeners, modifiedService, removedService
 
Methods inherited from class org.osgi.util.tracker.ServiceTracker
close, getService, getService, getServiceReference, getServiceReferences, getServices, getTrackingCount, open, open, remove, size, waitForService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletContextAttributeListenerManager

public ServletContextAttributeListenerManager(BundleContext context)
Method Detail

attributeAdded

public void attributeAdded(javax.servlet.ServletContextAttributeEvent scab)
Specified by:
attributeAdded in interface javax.servlet.ServletContextAttributeListener

attributeRemoved

public void attributeRemoved(javax.servlet.ServletContextAttributeEvent scab)
Specified by:
attributeRemoved in interface javax.servlet.ServletContextAttributeListener

attributeReplaced

public void attributeReplaced(javax.servlet.ServletContextAttributeEvent scab)
Specified by:
attributeReplaced in interface javax.servlet.ServletContextAttributeListener


Copyright © 2011 Apache Software Foundation. All Rights Reserved.