|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.prefs.impl.PreferencesServiceImpl
public class PreferencesServiceImpl
This is an implementation of the OSGI Preferences Service, Version 1.1.
| Field Summary | |
|---|---|
protected java.lang.Long |
bundleId
The service id for the bundle this service belongs to. |
protected BackingStoreManager |
storeManager
The backing store manager. |
protected PreferencesImpl |
systemTree
This is the system preferences tree. |
protected java.util.Map |
trees
This is the map containing the user preferences trees. |
| Constructor Summary | |
|---|---|
PreferencesServiceImpl(java.lang.Long id,
BackingStoreManager storeManager)
|
|
| Method Summary | |
|---|---|
protected java.util.List |
getAllPreferences()
|
org.osgi.service.prefs.Preferences |
getSystemPreferences()
|
org.osgi.service.prefs.Preferences |
getUserPreferences(java.lang.String name)
|
java.lang.String[] |
getUsers()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PreferencesImpl systemTree
protected final java.util.Map trees
protected final java.lang.Long bundleId
protected final BackingStoreManager storeManager
| Constructor Detail |
|---|
public PreferencesServiceImpl(java.lang.Long id,
BackingStoreManager storeManager)
| Method Detail |
|---|
public org.osgi.service.prefs.Preferences getSystemPreferences()
getSystemPreferences in interface org.osgi.service.prefs.PreferencesServicePreferencesService.getSystemPreferences()public org.osgi.service.prefs.Preferences getUserPreferences(java.lang.String name)
getUserPreferences in interface org.osgi.service.prefs.PreferencesServicePreferencesService.getUserPreferences(java.lang.String)public java.lang.String[] getUsers()
getUsers in interface org.osgi.service.prefs.PreferencesServicePreferencesService.getUsers()protected java.util.List getAllPreferences()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||