Package | Description |
---|---|
org.osgi.util.tracker |
Tracker Package Version 1.5.
|
Modifier and Type | Class and Description |
---|---|
class |
ServiceTracker<S,T>
The
ServiceTracker class simplifies using services from the
Framework's service registry. |
Constructor and Description |
---|
ServiceTracker(BundleContext context,
java.lang.Class<S> clazz,
ServiceTrackerCustomizer<S,T> customizer)
Create a
ServiceTracker on the specified class. |
ServiceTracker(BundleContext context,
Filter filter,
ServiceTrackerCustomizer<S,T> customizer)
Create a
ServiceTracker on the specified Filter object. |
ServiceTracker(BundleContext context,
ServiceReference<S> reference,
ServiceTrackerCustomizer<S,T> customizer)
Create a
ServiceTracker on the specified ServiceReference
. |
ServiceTracker(BundleContext context,
java.lang.String clazz,
ServiceTrackerCustomizer<S,T> customizer)
Create a
ServiceTracker on the specified class name. |
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0