A B C D F G H I K L N O P R S T U V W

A

absolutePath() - Method in class org.apache.felix.prefs.PreferencesImpl
 
addedChildren - Variable in class org.apache.felix.prefs.ChangeSet
A set of added children.
applyChanges(PreferencesImpl) - Method in class org.apache.felix.prefs.PreferencesImpl
Apply the changes done to the passed preferences object.
availableBundles() - Method in interface org.apache.felix.prefs.BackingStore
Return all bundle ids for which preferences are stored..
availableBundles() - Method in class org.apache.felix.prefs.impl.DataFileBackingStoreImpl
 

B

BackingStore - Interface in org.apache.felix.prefs
The BackingStore for the preferences.
BackingStoreManager - Interface in org.apache.felix.prefs
Get the backing store.
bundleChanged(BundleEvent) - Method in class org.apache.felix.prefs.impl.PreferencesManager
 
bundleContext - Variable in class org.apache.felix.prefs.impl.StreamBackingStoreImpl
The bundle context.
bundleId - Variable in class org.apache.felix.prefs.impl.PreferencesServiceImpl
The service id for the bundle this service belongs to.
bundleId - Variable in class org.apache.felix.prefs.PreferencesDescription
 

C

changedProperties - Variable in class org.apache.felix.prefs.ChangeSet
A set of changed/added properties.
ChangeSet - Class in org.apache.felix.prefs
This class keeps track of the changes to a preferences node.
ChangeSet() - Constructor for class org.apache.felix.prefs.ChangeSet
 
changeSet - Variable in class org.apache.felix.prefs.PreferencesImpl
The change set keeps track of all changes.
checkAccess() - Method in class org.apache.felix.prefs.impl.DataFileBackingStoreImpl
 
checkAccess() - Method in class org.apache.felix.prefs.impl.StreamBackingStoreImpl
This method is invoked to check if the backing store is accessible right now.
checkKey(String) - Method in class org.apache.felix.prefs.PreferencesImpl
The key is not allowed to be null.
checkValidity() - Method in class org.apache.felix.prefs.PreferencesImpl
Check if this node is still valid.
checkValue(Object) - Method in class org.apache.felix.prefs.PreferencesImpl
The value is not allowed to be null.
childAdded(String) - Method in class org.apache.felix.prefs.ChangeSet
Inform that a child has been added.
childRemoved(String) - Method in class org.apache.felix.prefs.ChangeSet
Inform that a child has been removed.
children - Variable in class org.apache.felix.prefs.PreferencesImpl
The child nodes.
childrenNames() - Method in class org.apache.felix.prefs.PreferencesImpl
 
cleanupStore(BackingStore) - Method in class org.apache.felix.prefs.impl.PreferencesManager
Clean up the store and remove preferences for deleted bundles.
clear() - Method in class org.apache.felix.prefs.ChangeSet
Reset state to unchanged.
clear() - Method in class org.apache.felix.prefs.PreferencesImpl
 
context - Variable in class org.apache.felix.prefs.impl.PreferencesManager
The bundle context.

D

DataFileBackingStoreImpl - Class in org.apache.felix.prefs.impl
This implementating of the backing store uses the bundle mechanism to store binary data.
DataFileBackingStoreImpl(BundleContext) - Constructor for class org.apache.felix.prefs.impl.DataFileBackingStoreImpl
 
defaultStore - Variable in class org.apache.felix.prefs.impl.PreferencesManager
The default store which is used if no service can be found.
description - Variable in class org.apache.felix.prefs.PreferencesImpl
The description for this preferences.

F

flush() - Method in class org.apache.felix.prefs.PreferencesImpl
 

G

get(String, String) - Method in class org.apache.felix.prefs.PreferencesImpl
 
getAddedChildren() - Method in class org.apache.felix.prefs.ChangeSet
Return a collection with the added children names.
getAllPreferences() - Method in class org.apache.felix.prefs.impl.PreferencesServiceImpl
 
getBackingStoreManager() - Method in class org.apache.felix.prefs.PreferencesImpl
Return the backing store manager.
getBoolean(String, boolean) - Method in class org.apache.felix.prefs.PreferencesImpl
 
getBundleId() - Method in class org.apache.felix.prefs.PreferencesDescription
 
getByteArray(String, byte[]) - Method in class org.apache.felix.prefs.PreferencesImpl
 
getChangedProperties() - Method in class org.apache.felix.prefs.ChangeSet
Return a collection with the changed property names.
getChangeSet() - Method in class org.apache.felix.prefs.PreferencesImpl
Return the change set.
getChildren() - Method in class org.apache.felix.prefs.PreferencesImpl
Return all children or an empty collection.
getDescription(File) - Method in class org.apache.felix.prefs.impl.DataFileBackingStoreImpl
 
getDescription() - Method in class org.apache.felix.prefs.PreferencesImpl
Return the preferences description.
getDouble(String, double) - Method in class org.apache.felix.prefs.PreferencesImpl
 
getFile(PreferencesDescription) - Method in class org.apache.felix.prefs.impl.DataFileBackingStoreImpl
Get the file fo the preferences tree.
getFloat(String, float) - Method in class org.apache.felix.prefs.PreferencesImpl
 
getIdentifier() - Method in class org.apache.felix.prefs.PreferencesDescription
 
getInt(String, int) - Method in class org.apache.felix.prefs.PreferencesImpl
 
getLong(String, long) - Method in class org.apache.felix.prefs.PreferencesImpl
 
getNode(String, boolean, boolean) - Method in class org.apache.felix.prefs.PreferencesImpl
Get a relative node.
getOrCreateNode(String) - Method in class org.apache.felix.prefs.PreferencesImpl
Get or create the node.
getOutputStream(PreferencesDescription) - Method in class org.apache.felix.prefs.impl.DataFileBackingStoreImpl
 
getOutputStream(PreferencesDescription) - Method in class org.apache.felix.prefs.impl.StreamBackingStoreImpl
Get the output stream to write the preferences.
getProperties() - Method in class org.apache.felix.prefs.PreferencesImpl
Return the properties set.
getRemovedChildren() - Method in class org.apache.felix.prefs.ChangeSet
Return a collection with the removed children names.
getRemovedProperties() - Method in class org.apache.felix.prefs.ChangeSet
Return a collection with the removed property names.
getRoot() - Method in class org.apache.felix.prefs.PreferencesImpl
Get the root preferences.
getService(Bundle, ServiceRegistration) - Method in class org.apache.felix.prefs.impl.PreferencesManager
 
getStore() - Method in interface org.apache.felix.prefs.BackingStoreManager
Return the current backing store.
getStore() - Method in class org.apache.felix.prefs.impl.PreferencesManager
 
getSystemPreferences() - Method in class org.apache.felix.prefs.impl.PreferencesServiceImpl
 
getUserPreferences(String) - Method in class org.apache.felix.prefs.impl.PreferencesServiceImpl
 
getUsers() - Method in class org.apache.felix.prefs.impl.PreferencesServiceImpl
 

H

hasChanges - Variable in class org.apache.felix.prefs.ChangeSet
Do we have changes at all?
hasChanges() - Method in class org.apache.felix.prefs.ChangeSet
Do we have changes?
hasChanges(PreferencesImpl) - Method in class org.apache.felix.prefs.impl.StreamBackingStoreImpl
Has the tree changes?

I

identifier - Variable in class org.apache.felix.prefs.PreferencesDescription
 
importChanges(ChangeSet) - Method in class org.apache.felix.prefs.ChangeSet
Import the changes from the other change set.

K

keys() - Method in class org.apache.felix.prefs.PreferencesImpl
 

L

load(BackingStoreManager, PreferencesDescription) - Method in interface org.apache.felix.prefs.BackingStore
Load the preferences for the given description.
load(BackingStoreManager, PreferencesDescription) - Method in class org.apache.felix.prefs.impl.DataFileBackingStoreImpl
 
loadAll(BackingStoreManager, Long) - Method in interface org.apache.felix.prefs.BackingStore
Load all preferences for this bundle.
loadAll(BackingStoreManager, Long) - Method in class org.apache.felix.prefs.impl.DataFileBackingStoreImpl
 
log(int, String, Throwable) - Method in class org.apache.felix.prefs.impl.PreferencesManager
 
logTracker - Variable in class org.apache.felix.prefs.impl.PreferencesManager
The service tracker for the log service.

N

name - Variable in class org.apache.felix.prefs.PreferencesImpl
The name of the properties.
name() - Method in class org.apache.felix.prefs.PreferencesImpl
 
node(String) - Method in class org.apache.felix.prefs.PreferencesImpl
We do not synchronize this method to avoid dead locks as this method might call another preferences object in the hierarchy.
nodeExists(String) - Method in class org.apache.felix.prefs.PreferencesImpl
We do not synchronize this method to avoid dead locks as this method might call another preferences object in the hierarchy.

O

org.apache.felix.prefs - package org.apache.felix.prefs
 
org.apache.felix.prefs.impl - package org.apache.felix.prefs.impl
 

P

parent - Variable in class org.apache.felix.prefs.PreferencesImpl
The parent.
parent() - Method in class org.apache.felix.prefs.PreferencesImpl
 
PreferencesDescription - Class in org.apache.felix.prefs
A preferences description identifies a preferences try.
PreferencesDescription(Long, String) - Constructor for class org.apache.felix.prefs.PreferencesDescription
 
PreferencesImpl - Class in org.apache.felix.prefs
This is an implementation of the preferences.
PreferencesImpl(PreferencesDescription, BackingStoreManager) - Constructor for class org.apache.felix.prefs.PreferencesImpl
Construct the root node of the tree.
PreferencesImpl(PreferencesImpl, String) - Constructor for class org.apache.felix.prefs.PreferencesImpl
Construct a child node.
PreferencesManager - Class in org.apache.felix.prefs.impl
This activator registers itself as a service factory for the preferences service.
PreferencesManager() - Constructor for class org.apache.felix.prefs.impl.PreferencesManager
 
PreferencesServiceImpl - Class in org.apache.felix.prefs.impl
This is an implementation of the OSGI Preferences Service, Version 1.1.
PreferencesServiceImpl(Long, BackingStoreManager) - Constructor for class org.apache.felix.prefs.impl.PreferencesServiceImpl
 
properties - Variable in class org.apache.felix.prefs.PreferencesImpl
The properties.
propertyChanged(String) - Method in class org.apache.felix.prefs.ChangeSet
Inform that a property has been added/changed.
propertyRemoved(String) - Method in class org.apache.felix.prefs.ChangeSet
Inform that a property has removed.
put(String, String) - Method in class org.apache.felix.prefs.PreferencesImpl
 
putBoolean(String, boolean) - Method in class org.apache.felix.prefs.PreferencesImpl
 
putByteArray(String, byte[]) - Method in class org.apache.felix.prefs.PreferencesImpl
 
putDouble(String, double) - Method in class org.apache.felix.prefs.PreferencesImpl
 
putFloat(String, float) - Method in class org.apache.felix.prefs.PreferencesImpl
 
putInt(String, int) - Method in class org.apache.felix.prefs.PreferencesImpl
 
putLong(String, long) - Method in class org.apache.felix.prefs.PreferencesImpl
 

R

read(PreferencesImpl, InputStream) - Method in class org.apache.felix.prefs.impl.StreamBackingStoreImpl
Read the preferences recursively from the input stream.
readPreferences(PreferencesImpl, InputStream) - Method in class org.apache.felix.prefs.impl.StreamBackingStoreImpl
Load this preferences from an input stream.
remove(Long) - Method in interface org.apache.felix.prefs.BackingStore
Remove all preferences stored for this bundle.
remove(Long) - Method in class org.apache.felix.prefs.impl.DataFileBackingStoreImpl
 
remove(String) - Method in class org.apache.felix.prefs.PreferencesImpl
 
removeChild(PreferencesImpl) - Method in class org.apache.felix.prefs.PreferencesImpl
 
removedChildren - Variable in class org.apache.felix.prefs.ChangeSet
A set of removed children.
removedProperties - Variable in class org.apache.felix.prefs.ChangeSet
A set of removed properties.
removeNode() - Method in class org.apache.felix.prefs.PreferencesImpl
 
rootDirectory - Variable in class org.apache.felix.prefs.impl.DataFileBackingStoreImpl
The root directory (or null if not available)

S

safelyRemoveNode() - Method in class org.apache.felix.prefs.PreferencesImpl
Safely remove a node by resetting all properties and calling this method on all children recursively.
save(PreferencesServiceImpl) - Method in class org.apache.felix.prefs.impl.PreferencesManager
Save all preferences for this service.
services - Variable in class org.apache.felix.prefs.impl.PreferencesManager
The map of already created services.
start(BundleContext) - Method in class org.apache.felix.prefs.impl.PreferencesManager
 
stop(BundleContext) - Method in class org.apache.felix.prefs.impl.PreferencesManager
 
store(PreferencesImpl) - Method in interface org.apache.felix.prefs.BackingStore
Store the current preferences and its children in the backing store.
store(PreferencesImpl) - Method in class org.apache.felix.prefs.impl.StreamBackingStoreImpl
 
storeManager - Variable in class org.apache.felix.prefs.impl.PreferencesServiceImpl
The backing store manager.
storeManager - Variable in class org.apache.felix.prefs.PreferencesImpl
The backing store manager.
storeTracker - Variable in class org.apache.felix.prefs.impl.PreferencesManager
The backing store service tracker.
storeTrackingCount - Variable in class org.apache.felix.prefs.impl.PreferencesManager
Tracking count for the store tracker to detect changes.
StreamBackingStoreImpl - Class in org.apache.felix.prefs.impl
This is an abstract implementation of a backing store which uses streams to read/write the preferences and stores a complete preferences tree in a single stream.
StreamBackingStoreImpl(BundleContext) - Constructor for class org.apache.felix.prefs.impl.StreamBackingStoreImpl
 
sync() - Method in class org.apache.felix.prefs.PreferencesImpl
 
systemTree - Variable in class org.apache.felix.prefs.impl.PreferencesServiceImpl
This is the system preferences tree.

T

trees - Variable in class org.apache.felix.prefs.impl.PreferencesServiceImpl
This is the map containing the user preferences trees.

U

ungetService(Bundle, ServiceRegistration, Object) - Method in class org.apache.felix.prefs.impl.PreferencesManager
 
update(PreferencesImpl) - Method in interface org.apache.felix.prefs.BackingStore
Update the current preferences and its children from the backing store.
update(PreferencesImpl) - Method in class org.apache.felix.prefs.impl.StreamBackingStoreImpl
 
update(PreferencesImpl) - Method in class org.apache.felix.prefs.PreferencesImpl
Update from the preferences impl.

V

valid - Variable in class org.apache.felix.prefs.PreferencesImpl
Has this node been removed?

W

write(PreferencesImpl, OutputStream) - Method in class org.apache.felix.prefs.impl.StreamBackingStoreImpl
Write the preferences recursively to the output stream.
writePreferences(PreferencesImpl, OutputStream) - Method in class org.apache.felix.prefs.impl.StreamBackingStoreImpl
Save this preferences to an output stream.

A B C D F G H I K L N O P R S T U V W