public interface BackingStore
| Modifier and Type | Method and Description |
|---|---|
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,
Long bundleId)
Load all preferences for this bundle.
|
void |
remove(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.
|
void store(PreferencesImpl prefs) throws org.osgi.service.prefs.BackingStoreException
prefs - The preferences.org.osgi.service.prefs.BackingStoreExceptionvoid update(PreferencesImpl prefs) throws org.osgi.service.prefs.BackingStoreException
org.osgi.service.prefs.BackingStoreExceptionLong[] availableBundles()
void remove(Long bundleId) throws org.osgi.service.prefs.BackingStoreException
bundleId - The bundle id.org.osgi.service.prefs.BackingStoreExceptionPreferencesImpl 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.BackingStoreExceptionPreferencesImpl[] loadAll(BackingStoreManager manager, 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.BackingStoreExceptionCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.