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
ConfigurationHandlerclass implements configuration reading form ajava.io.InputStreamand writing to ajava.io.OutputStreamon behalf of theFilePersistenceManagerclass. - 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
Dictionaryfor 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
trueif a (configuration) file exists for the given identifier. - exists(String) - Method in interface org.apache.felix.cm.PersistenceManager
-
Returns
trueif a persistedDictionaryexists for the givenpid.
F
- FilePersistenceManager - Class in org.apache.felix.cm.file
-
The
FilePersistenceManagerclass 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
Dictionaryobjects. - getDictionaries() - Method in interface org.apache.felix.cm.PersistenceManager
-
Returns an enumeration of all
Dictionaryobjects 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
Fileobject.
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
Dictionaryobject. - load(String) - Method in interface org.apache.felix.cm.PersistenceManager
-
Returns the
Dictionaryfor the givenpid.
N
- NotCachablePersistenceManager - Interface in org.apache.felix.cm
-
NotCachablePersistenceManageris a marker interface which extendsPersistenceManagerto 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
PersistenceManagerinterface 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
InputStreamand returns a newDictionaryobject containing the data.
S
- store(String, Dictionary) - Method in class org.apache.felix.cm.file.FilePersistenceManager
-
Stores the contents of the
Dictionaryin a file denoted by the given identifier. - store(String, Dictionary) - Method in interface org.apache.felix.cm.PersistenceManager
-
Stores the
Dictionaryunder 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
Dictionaryto the givenOutputStream.
All Classes All Packages