|
||||||||||
| 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 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 Map |
trees
This is the map containing the user preferences trees. |
| Constructor Summary | |
|---|---|
PreferencesServiceImpl(Long id,
BackingStoreManager storeManager)
|
|
| Method Summary | |
|---|---|
protected List |
getAllPreferences()
|
Preferences |
getSystemPreferences()
|
Preferences |
getUserPreferences(String name)
|
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 Map trees
protected final Long bundleId
protected final BackingStoreManager storeManager
| Constructor Detail |
|---|
public PreferencesServiceImpl(Long id,
BackingStoreManager storeManager)
| Method Detail |
|---|
public Preferences getSystemPreferences()
getSystemPreferences in interface PreferencesServicePreferencesService.getSystemPreferences()public Preferences getUserPreferences(String name)
getUserPreferences in interface PreferencesServicePreferencesService.getUserPreferences(java.lang.String)public String[] getUsers()
getUsers in interface PreferencesServicePreferencesService.getUsers()protected List getAllPreferences()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||