Top Description Interfaces Classes
module org.osgi.util.tracker

Package org.osgi.util.tracker

Annotations
@Version:1.5.4
Imports
org.osgi.annotation.versioning.Version

Tracker Package Version 1.5.

Bundles wishing to use this package must list the package in the Import-Package header of the bundle's manifest.

Example import for consumers using the API in this package:

Import-Package: org.osgi.util.tracker; version="[1.5,2.0)"

Author
$Id: 525c871316f48c75de552961b6e34b621bad047a $

Interface Summary

Modifier and TypeInterface and Description
public interface
BundleTrackerCustomizer<
The type of the tracked object.
T
>

The BundleTrackerCustomizer interface allows a BundleTracker to customize the Bundles that are tracked.

public interface
ServiceTrackerCustomizer<
The type of the service being tracked.
S
,
The type of the tracked object.
T
>

The ServiceTrackerCustomizer interface allows a ServiceTracker to customize the service objects that are tracked.

Class Summary

Modifier and TypeClass and Description
pack-priv abstract class
AbstractTracked<
The tracked item. It is the key.
S
,
The value mapped to the tracked item.
T
,
The reason the tracked item is being tracked or untracked.
R
>

Abstract class to track items.

public class
BundleTracker<
The type of the tracked object.
T
>

The BundleTracker class simplifies tracking bundles much like the ServiceTracker simplifies tracking services.

public class
ServiceTracker<
The type of the service being tracked.
S
,
The type of the tracked object.
T
>

The ServiceTracker class simplifies using services from the Framework's service registry.