The OSGi Preference Service defines a preferences model for OSGi Services. The OSGi Preferences model enables services to maintain their own preferences information, but the information is not available to other services or bundles, unless access is provided by the service itself.
Developers should consider using the OSGi Preferences Service for preference information only if their bundle must also run in a non-Eclipse OSGi environment. Otherwise, developers are strongly encouraged to use the Eclipse preferences model. For more information, refer to the OSGi R4 Specification.
Parent topic: Understanding preference options