public interface PreferencesService
Each bundle using this service has its own set of preference trees: one for system preferences, and one for each user.
PreferencesService object is specific to the bundle which obtained
it from the service registry. If a bundle wishes to allow another bundle to
access its preferences, it should pass its
to that bundle.
|Modifier and Type||Method and Description|
Returns the root system node for the calling bundle.
Returns the root node for the specified user and the calling bundle.
Returns the names of users for which node trees exist.
Preferences getUserPreferences(String name)
name- The user for which to return the preference root node.
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0