Class SortingServiceTracker<T>

java.lang.Object
org.osgi.util.tracker.ServiceTracker<T,T>
org.apache.sling.commons.osgi.SortingServiceTracker<T>
All Implemented Interfaces:
ServiceTrackerCustomizer<T,T>

public class SortingServiceTracker<T> extends ServiceTracker<T,T>
Implementation providing a sorted list of services by service ranking.
  • Constructor Details

    • SortingServiceTracker

      public SortingServiceTracker(BundleContext context, String clazz)
      Constructor
      Parameters:
      context - Bundle context
      clazz - Class
  • Method Details