Package org.apache.felix.prefs.impl
Class PreferencesServiceImpl
java.lang.Object
org.apache.felix.prefs.impl.PreferencesServiceImpl
- All Implemented Interfaces:
org.osgi.service.prefs.PreferencesService
public class PreferencesServiceImpl
extends Object
implements org.osgi.service.prefs.PreferencesService
This is an implementation of the OSGI Preferences Service, Version 1.1.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final LongThe service id for the bundle this service belongs to.protected final BackingStoreManagerThe backing store manager.protected PreferencesImplThis is the system preferences tree.protected final Map<String, PreferencesImpl> This is the map containing the user preferences trees. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<PreferencesImpl> org.osgi.service.prefs.Preferencesorg.osgi.service.prefs.PreferencesgetUserPreferences(String name) String[]getUsers()
-
Field Details
-
systemTree
This is the system preferences tree. -
trees
This is the map containing the user preferences trees. -
bundleId
The service id for the bundle this service belongs to. -
storeManager
The backing store manager.
-
-
Constructor Details
-
PreferencesServiceImpl
-
-
Method Details
-
getSystemPreferences
public org.osgi.service.prefs.Preferences getSystemPreferences()- Specified by:
getSystemPreferencesin interfaceorg.osgi.service.prefs.PreferencesService- See Also:
-
getUserPreferences
- Specified by:
getUserPreferencesin interfaceorg.osgi.service.prefs.PreferencesService- See Also:
-
getUsers
- Specified by:
getUsersin interfaceorg.osgi.service.prefs.PreferencesService- See Also:
-
getAllPreferences
-