public class SortingServiceTracker<T>
extends org.osgi.util.tracker.ServiceTracker
| Constructor and Description |
|---|
SortingServiceTracker(org.osgi.framework.BundleContext context,
String clazz)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
addingService(org.osgi.framework.ServiceReference reference) |
List<org.osgi.framework.ServiceReference> |
getSortedServiceReferences()
Return a sorted list of the services references.
|
List<T> |
getSortedServices()
Return a sorted list of the services.
|
void |
modifiedService(org.osgi.framework.ServiceReference reference,
Object service) |
void |
removedService(org.osgi.framework.ServiceReference reference,
Object service) |
public SortingServiceTracker(org.osgi.framework.BundleContext context,
String clazz)
context - Bundle contextclazz - Classpublic void removedService(org.osgi.framework.ServiceReference reference,
Object service)
removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizerremovedService in class org.osgi.util.tracker.ServiceTrackerServiceTracker.removedService(org.osgi.framework.ServiceReference, java.lang.Object)public void modifiedService(org.osgi.framework.ServiceReference reference,
Object service)
modifiedService in interface org.osgi.util.tracker.ServiceTrackerCustomizermodifiedService in class org.osgi.util.tracker.ServiceTrackerServiceTrackerCustomizer.modifiedService(org.osgi.framework.ServiceReference, java.lang.Object)public Object addingService(org.osgi.framework.ServiceReference reference)
addingService in interface org.osgi.util.tracker.ServiceTrackerCustomizeraddingService in class org.osgi.util.tracker.ServiceTrackerServiceTrackerCustomizer.addingService(org.osgi.framework.ServiceReference)public List<T> getSortedServices()
public List<org.osgi.framework.ServiceReference> getSortedServiceReferences()
Copyright © 2015 The Apache Software Foundation. All rights reserved.