Class ServletTracker

  • All Implemented Interfaces:
    org.osgi.util.tracker.ServiceTrackerCustomizer<javax.servlet.Servlet,​javax.servlet.Servlet>

    public class ServletTracker
    extends org.osgi.util.tracker.ServiceTracker<javax.servlet.Servlet,​javax.servlet.Servlet>
    • Field Summary

      • Fields inherited from class org.osgi.util.tracker.ServiceTracker

        context, filter
    • Constructor Summary

      Constructors 
      Constructor Description
      ServletTracker​(org.osgi.framework.BundleContext context, javax.servlet.ServletContext servletContext, ProxyFilter proxyFilter)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.servlet.Servlet addingService​(org.osgi.framework.ServiceReference reference)  
      void removedService​(org.osgi.framework.ServiceReference<javax.servlet.Servlet> reference, javax.servlet.Servlet service)  
      • Methods inherited from class org.osgi.util.tracker.ServiceTracker

        close, getService, getService, getServiceReference, getServiceReferences, getServices, getServices, getTracked, getTrackingCount, isEmpty, modifiedService, open, open, remove, size, waitForService
    • Constructor Detail

      • ServletTracker

        public ServletTracker​(org.osgi.framework.BundleContext context,
                              javax.servlet.ServletContext servletContext,
                              ProxyFilter proxyFilter)
    • Method Detail

      • addingService

        public javax.servlet.Servlet addingService​(org.osgi.framework.ServiceReference reference)
        Specified by:
        addingService in interface org.osgi.util.tracker.ServiceTrackerCustomizer<javax.servlet.Servlet,​javax.servlet.Servlet>
        Overrides:
        addingService in class org.osgi.util.tracker.ServiceTracker<javax.servlet.Servlet,​javax.servlet.Servlet>
      • removedService

        public void removedService​(org.osgi.framework.ServiceReference<javax.servlet.Servlet> reference,
                                   javax.servlet.Servlet service)
        Specified by:
        removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer<javax.servlet.Servlet,​javax.servlet.Servlet>
        Overrides:
        removedService in class org.osgi.util.tracker.ServiceTracker<javax.servlet.Servlet,​javax.servlet.Servlet>