Class ResourceTracker

  • All Implemented Interfaces:
    org.osgi.util.tracker.ServiceTrackerCustomizer

    public class ResourceTracker
    extends org.osgi.util.tracker.ServiceTracker
    • Field Summary

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

        context, filter
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object addingService​(org.osgi.framework.ServiceReference reference)  
      void removedService​(org.osgi.framework.ServiceReference reference, java.lang.Object 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourceTracker

        public ResourceTracker​(org.osgi.framework.BundleContext context,
                               javax.servlet.ServletContext servletContext,
                               ProxyFilter proxyFilter)
                        throws org.osgi.framework.InvalidSyntaxException
        Throws:
        org.osgi.framework.InvalidSyntaxException
    • 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