C D E F G I L N O P R S T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- code2Type - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- COLLECTION_LINE_BREAK - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- ConfigurationHandler - Class in org.apache.felix.cm.file
-
The
ConfigurationHandler
class implements configuration reading form ajava.io.InputStream
and writing to ajava.io.OutputStream
on behalf of theFilePersistenceManager
class. - CRLF - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
D
- DEFAULT_CONFIG_DIR - Static variable in class org.apache.felix.cm.file.FilePersistenceManager
-
The default configuration data directory if no location is configured (value is "config").
- DEFAULT_PERSISTENCE_MANAGER_NAME - Static variable in class org.apache.felix.cm.file.FilePersistenceManager
-
The name of this persistence manager when registered in the service registry.
- delete(String) - Method in class org.apache.felix.cm.file.FilePersistenceManager
-
Deletes the file for the given identifier.
- delete(String) - Method in interface org.apache.felix.cm.PersistenceManager
-
Removes the
Dictionary
for the givenpid
.
E
- ENCODING - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- exists(String) - Method in class org.apache.felix.cm.file.FilePersistenceManager
-
Returns
true
if a (configuration) file exists for the given identifier. - exists(String) - Method in interface org.apache.felix.cm.PersistenceManager
-
Returns
true
if a persistedDictionary
exists for the givenpid
.
F
- FilePersistenceManager - Class in org.apache.felix.cm.file
-
The
FilePersistenceManager
class stores configuration data in properties-like files inside a given directory. - FilePersistenceManager(String) - Constructor for class org.apache.felix.cm.file.FilePersistenceManager
-
Creates an instance of this persistence manager using the given location as the directory to store and retrieve the configuration files.
- FilePersistenceManager(BundleContext, String) - Constructor for class org.apache.felix.cm.file.FilePersistenceManager
-
Creates an instance of this persistence manager using the given location as the directory to store and retrieve the configuration files.
G
- getDictionaries() - Method in class org.apache.felix.cm.file.FilePersistenceManager
-
Loads configuration data from the configuration location and returns it as
Dictionary
objects. - getDictionaries() - Method in interface org.apache.felix.cm.PersistenceManager
-
Returns an enumeration of all
Dictionary
objects known to this persistence manager. - getLocation() - Method in class org.apache.felix.cm.file.FilePersistenceManager
-
Returns the directory in which the configuration files are written as a
File
object.
I
- INDENT - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
L
- load(String) - Method in class org.apache.felix.cm.file.FilePersistenceManager
-
Reads the (configuration) for the given identifier into a
Dictionary
object. - load(String) - Method in interface org.apache.felix.cm.PersistenceManager
-
Returns the
Dictionary
for the givenpid
.
N
- NotCachablePersistenceManager - Interface in org.apache.felix.cm
-
NotCachablePersistenceManager
is a marker interface which extendsPersistenceManager
to inform that no cache should be applied around this persistence manager.
O
- org.apache.felix.cm - package org.apache.felix.cm
- org.apache.felix.cm.file - package org.apache.felix.cm.file
P
- PersistenceManager - Interface in org.apache.felix.cm
-
The
PersistenceManager
interface defines the API to be implemented to support persisting configuration data. - PROPERTY_NAME - Static variable in interface org.apache.felix.cm.PersistenceManager
-
Service registration property to define a unique name for the persistence manager.
R
- read(InputStream) - Static method in class org.apache.felix.cm.file.ConfigurationHandler
-
Reads configuration data from the given
InputStream
and returns a newDictionary
object containing the data.
S
- store(String, Dictionary) - Method in class org.apache.felix.cm.file.FilePersistenceManager
-
Stores the contents of the
Dictionary
in a file denoted by the given identifier. - store(String, Dictionary) - Method in interface org.apache.felix.cm.PersistenceManager
-
Stores the
Dictionary
under the givenpid
.
T
- TOKEN_ARR_CLOS - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_ARR_OPEN - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_COMMA - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_COMMENT - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_EQ - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_NAME - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_PRIMITIVE_BOOLEAN - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_PRIMITIVE_BYTE - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_PRIMITIVE_CHAR - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_PRIMITIVE_DOUBLE - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_PRIMITIVE_FLOAT - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_PRIMITIVE_INT - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_PRIMITIVE_LONG - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_PRIMITIVE_SHORT - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_SIMPLE_BOOLEAN - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_SIMPLE_BYTE - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_SIMPLE_CHARACTER - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_SIMPLE_DOUBLE - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_SIMPLE_FLOAT - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_SIMPLE_INTEGER - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_SIMPLE_LONG - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_SIMPLE_SHORT - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_SIMPLE_STRING - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_VAL_CLOS - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_VAL_OPEN - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_VEC_CLOS - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- TOKEN_VEC_OPEN - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- type2Code - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
W
- write(OutputStream, Dictionary) - Static method in class org.apache.felix.cm.file.ConfigurationHandler
-
Writes the configuration data from the
Dictionary
to the givenOutputStream
.
All Classes All Packages