public class SortingServiceTracker<T>
extends org.osgi.util.tracker.ServiceTracker<T,T>
Constructor and Description |
---|
SortingServiceTracker(org.osgi.framework.BundleContext context,
String clazz)
Constructor
|
Modifier and Type | Method and Description |
---|---|
T |
addingService(org.osgi.framework.ServiceReference<T> reference) |
List<org.osgi.framework.ServiceReference<T>> |
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<T> reference,
T service) |
void |
removedService(org.osgi.framework.ServiceReference<T> reference,
T service) |
public SortingServiceTracker(org.osgi.framework.BundleContext context, String clazz)
context
- Bundle contextclazz
- Classpublic void removedService(org.osgi.framework.ServiceReference<T> reference, T service)
public void modifiedService(org.osgi.framework.ServiceReference<T> reference, T service)
public List<T> getSortedServices()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.