|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BackingStore
The BackingStore for the preferences. This interface allows for different implementation strategies.
Method Summary | |
---|---|
java.lang.Long[] |
availableBundles()
Return all bundle ids for which preferences are stored.. |
PreferencesImpl |
load(BackingStoreManager manager,
PreferencesDescription desc)
Load the preferences for the given description. |
PreferencesImpl[] |
loadAll(BackingStoreManager manager,
java.lang.Long bundleId)
Load all preferences for this bundle. |
void |
remove(java.lang.Long bundleId)
Remove all preferences stored for this bundle. |
void |
store(PreferencesImpl prefs)
Store the current preferences and its children in the backing store. |
void |
update(PreferencesImpl prefs)
Update the current preferences and its children from the backing store. |
Method Detail |
---|
void store(PreferencesImpl prefs) throws org.osgi.service.prefs.BackingStoreException
prefs
- The preferences.
org.osgi.service.prefs.BackingStoreException
void update(PreferencesImpl prefs) throws org.osgi.service.prefs.BackingStoreException
org.osgi.service.prefs.BackingStoreException
java.lang.Long[] availableBundles()
void remove(java.lang.Long bundleId) throws org.osgi.service.prefs.BackingStoreException
bundleId
- The bundle id.
org.osgi.service.prefs.BackingStoreException
PreferencesImpl load(BackingStoreManager manager, PreferencesDescription desc) throws org.osgi.service.prefs.BackingStoreException
manager
- The backing store manager which should be passed to new preferences implementations.desc
-
org.osgi.service.prefs.BackingStoreException
PreferencesImpl[] loadAll(BackingStoreManager manager, java.lang.Long bundleId) throws org.osgi.service.prefs.BackingStoreException
manager
- The backing store manager which should be passed to new preferences implementations.bundleId
- The bundle id.
org.osgi.service.prefs.BackingStoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |