Bundles wishing to use this package must list the package in the Import-Package header of the bundle's manifest. This package has two types of users: the consumers that use the API in this package and the providers that implement the API in this package.
Example import for consumers using the API in this package:
Import-Package: org.osgi.service.prefs; version="[1.1,2.0)"
Example import for providers implementing the API in this package:
Import-Package: org.osgi.service.prefs; version="[1.1,1.2)"
| Modifier and Type | Interface and Description |
|---|---|
| public interface | Preferences
A node in a hierarchical collection of preference data. |
| public interface | PreferencesService
The Preferences Service. |
| Modifier and Type | Class and Description |
|---|---|
| public class | BackingStoreException
Thrown to indicate that a preferences operation could not complete because of a failure in the backing store, or a failure to contact the backing store. |