Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- accepts(String) - Method in class org.apache.felix.cm.impl.helper.ConfigurationMap
-
Returns
trueif this map is foreseen to take a configuration with the given service PID. - activate() - Method in class org.apache.felix.cm.impl.persistence.PersistenceManagerTracker.Holder
- addingService(ServiceReference<PersistenceManager>) - Method in class org.apache.felix.cm.impl.persistence.PersistenceManagerTracker
- addingService(ServiceReference<S>) - Method in class org.apache.felix.cm.impl.helper.BaseTracker
B
- BaseTracker<S> - Class in org.apache.felix.cm.impl.helper
-
The
BaseTrackeris the base class for trackingManagedServiceandManagedServiceFactoryservices. - BaseTracker(ConfigurationManager, boolean) - Constructor for class org.apache.felix.cm.impl.helper.BaseTracker
C
- CachingPersistenceManagerProxy - Class in org.apache.felix.cm.impl.persistence
-
The
CachingPersistenceManagerProxyadds a caching layer to the underlying actualPersistenceManagerimplementation. - CachingPersistenceManagerProxy(PersistenceManager) - Constructor for class org.apache.felix.cm.impl.persistence.CachingPersistenceManagerProxy
-
Creates a new caching layer for the given actual
PersistenceManager. - cm - Variable in class org.apache.felix.cm.impl.helper.BaseTracker
- code2Type - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- COLLECTION_LINE_BREAK - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- compareTo(PersistenceManagerTracker.Holder) - Method in class org.apache.felix.cm.impl.persistence.PersistenceManagerTracker.Holder
- 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. - ConfigurationMap<T> - Class in org.apache.felix.cm.impl.helper
- ConfigurationMap(String[]) - Constructor for class org.apache.felix.cm.impl.helper.ConfigurationMap
- createConfigurationMap(String[]) - Method in class org.apache.felix.cm.impl.helper.BaseTracker
- createConfigurationMap(String[]) - Method in class org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker
- createConfigurationMap(String[]) - Method in class org.apache.felix.cm.impl.helper.ManagedServiceTracker
- createMap(int) - Method in class org.apache.felix.cm.impl.helper.ConfigurationMap
- createMap(int) - Method in class org.apache.felix.cm.impl.helper.ManagedServiceFactoryConfigurationMap
- createPersistenceManagerProxy(PersistenceManager) - Static method in class org.apache.felix.cm.impl.persistence.PersistenceManagerTracker
- 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 class org.apache.felix.cm.impl.persistence.CachingPersistenceManagerProxy
-
Remove the configuration with the given PID.
- delete(String) - Method in class org.apache.felix.cm.impl.persistence.MemoryPersistenceManager
- delete(String) - Method in class org.apache.felix.cm.impl.persistence.PersistenceManagerProxy
-
Remove the configuration with the given PID.
- 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
- equals(Object) - Method in class org.apache.felix.cm.impl.helper.TargetedPID
- equals(Object) - Method in class org.apache.felix.cm.impl.persistence.PersistenceManagerTracker.Holder
- 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 class org.apache.felix.cm.impl.persistence.CachingPersistenceManagerProxy
-
Checks whether a dictionary with the given pid exists.
- exists(String) - Method in class org.apache.felix.cm.impl.persistence.MemoryPersistenceManager
- exists(String) - Method in class org.apache.felix.cm.impl.persistence.PersistenceManagerProxy
-
Checks whether a dictionary with the given pid exists.
- exists(String) - Method in interface org.apache.felix.cm.PersistenceManager
-
Returns
trueif a persistedDictionaryexists for the givenpid. - ExtPersistenceManager - Interface in org.apache.felix.cm.impl.persistence
-
Extension of the
PersistenceManager.
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
- get(TargetedPID) - Method in class org.apache.felix.cm.impl.helper.ConfigurationMap
- getAccessControlContext(Bundle) - Static method in class org.apache.felix.cm.impl.helper.BaseTracker
- getDelegatee() - Method in class org.apache.felix.cm.impl.persistence.CachingPersistenceManagerProxy
- getDelegatee() - Method in interface org.apache.felix.cm.impl.persistence.ExtPersistenceManager
- getDelegatee() - Method in class org.apache.felix.cm.impl.persistence.PersistenceManagerProxy
- 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 class org.apache.felix.cm.impl.persistence.CachingPersistenceManagerProxy
-
Returns an
EnumerationofDictionaryobjects representing the configurations stored in the underlying persistence managers. - getDictionaries() - Method in class org.apache.felix.cm.impl.persistence.MemoryPersistenceManager
- getDictionaries() - Method in class org.apache.felix.cm.impl.persistence.PersistenceManagerProxy
-
Returns an
EnumerationofDictionaryobjects representing the configurations stored in the underlying persistence managers. - getDictionaries() - Method in interface org.apache.felix.cm.PersistenceManager
-
Returns an enumeration of all
Dictionaryobjects known to this persistence manager. - getDictionaries(SimpleFilter) - Method in class org.apache.felix.cm.impl.persistence.CachingPersistenceManagerProxy
- getDictionaries(SimpleFilter) - Method in interface org.apache.felix.cm.impl.persistence.ExtPersistenceManager
- getDictionaries(SimpleFilter) - Method in class org.apache.felix.cm.impl.persistence.PersistenceManagerProxy
- getFactoryConfigurationPids(List<String>) - Method in class org.apache.felix.cm.impl.persistence.CachingPersistenceManagerProxy
- getFactoryConfigurationPids(List<String>) - Method in interface org.apache.felix.cm.impl.persistence.ExtPersistenceManager
- getFactoryConfigurationPids(List<String>) - Method in class org.apache.felix.cm.impl.persistence.PersistenceManagerProxy
- getKeyPid(TargetedPID) - Method in class org.apache.felix.cm.impl.helper.ConfigurationMap
- getLocation() - Method in class org.apache.felix.cm.file.FilePersistenceManager
-
Returns the directory in which the configuration files are written as a
Fileobject. - getPersistenceManager() - Method in class org.apache.felix.cm.impl.persistence.PersistenceManagerTracker.Holder
- getProperties(Dictionary<String, ?>, ServiceReference<?>, String, String) - Method in class org.apache.felix.cm.impl.helper.BaseTracker
- getRawPid() - Method in class org.apache.felix.cm.impl.helper.TargetedPID
-
Gets the raw PID with which this instance has been created.
- getRealService(ServiceReference<S>) - Method in class org.apache.felix.cm.impl.helper.BaseTracker
- getServicePid() - Method in class org.apache.felix.cm.impl.helper.TargetedPID
-
Returns the service PID of this targeted PID which basically is the targeted PID without the targeting information.
- getServicePid(ServiceReference<ManagedService>, TargetedPID) - Method in class org.apache.felix.cm.impl.helper.ManagedServiceTracker
- getServicePid(ServiceReference<ManagedServiceFactory>, TargetedPID) - Method in class org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker
-
Always returns the raw PID because for a ManagedServiceFactory the configuration's PID is automatically generated and is not a real targeted PID.
- getServicePid(ServiceReference<S>, TargetedPID) - Method in class org.apache.felix.cm.impl.helper.BaseTracker
-
Returns the String to be used as the PID of the service PID for the
pidretrieved from the configuration. - getServices(TargetedPID) - Method in class org.apache.felix.cm.impl.helper.BaseTracker
H
- handleCallBackError(Throwable, ServiceReference, TargetedPID) - Method in class org.apache.felix.cm.impl.helper.BaseTracker
- hashCode() - Method in class org.apache.felix.cm.impl.helper.TargetedPID
- hashCode() - Method in class org.apache.felix.cm.impl.persistence.PersistenceManagerTracker.Holder
- Holder(ServiceReference<PersistenceManager>, ExtPersistenceManager) - Constructor for class org.apache.felix.cm.impl.persistence.PersistenceManagerTracker.Holder
I
- INDENT - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
- isActivated() - Method in class org.apache.felix.cm.impl.persistence.PersistenceManagerTracker.Holder
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 class org.apache.felix.cm.impl.persistence.CachingPersistenceManagerProxy
-
Returns the dictionary for the given PID or
nullif no such dictionary is stored by the underlying persistence manager. - load(String) - Method in class org.apache.felix.cm.impl.persistence.MemoryPersistenceManager
- load(String) - Method in class org.apache.felix.cm.impl.persistence.PersistenceManagerProxy
-
Returns the dictionary for the given PID or
nullif no such dictionary is stored by the underyling persistence manager. - load(String) - Method in interface org.apache.felix.cm.PersistenceManager
-
Returns the
Dictionaryfor the givenpid.
M
- ManagedServiceFactoryConfigurationMap - Class in org.apache.felix.cm.impl.helper
- ManagedServiceFactoryConfigurationMap(String[]) - Constructor for class org.apache.felix.cm.impl.helper.ManagedServiceFactoryConfigurationMap
- ManagedServiceFactoryTracker - Class in org.apache.felix.cm.impl.helper
- ManagedServiceFactoryTracker(ConfigurationManager) - Constructor for class org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker
- ManagedServiceTracker - Class in org.apache.felix.cm.impl.helper
- ManagedServiceTracker(ConfigurationManager) - Constructor for class org.apache.felix.cm.impl.helper.ManagedServiceTracker
- matchesTarget(ServiceReference<?>) - Method in class org.apache.felix.cm.impl.helper.TargetedPID
-
Returns true if the target of this PID (bundle symbolic name, version, and location) match the bundle registering the referenced service.
- MemoryPersistenceManager - Class in org.apache.felix.cm.impl.persistence
-
The
MemoryPersistenceManagerholds all configurations in memory. - MemoryPersistenceManager() - Constructor for class org.apache.felix.cm.impl.persistence.MemoryPersistenceManager
- modifiedService(ServiceReference<PersistenceManager>, PersistenceManagerTracker.Holder) - Method in class org.apache.felix.cm.impl.persistence.PersistenceManagerTracker
- modifiedService(ServiceReference<S>, ConfigurationMap<?>) - Method in class org.apache.felix.cm.impl.helper.BaseTracker
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
- org.apache.felix.cm.impl.helper - package org.apache.felix.cm.impl.helper
- org.apache.felix.cm.impl.persistence - package org.apache.felix.cm.impl.persistence
P
- PersistenceManager - Interface in org.apache.felix.cm
-
The
PersistenceManagerinterface defines the API to be implemented to support persisting configuration data. - PersistenceManagerProxy - Class in org.apache.felix.cm.impl.persistence
-
The
PersistenceManagerProxyproxies a persistence manager and adds a read/write lock. - PersistenceManagerProxy(PersistenceManager) - Constructor for class org.apache.felix.cm.impl.persistence.PersistenceManagerProxy
-
Creates a new proxy for the given actual
PersistenceManager. - PersistenceManagerTracker - Class in org.apache.felix.cm.impl.persistence
-
This tracker tracks registered persistence managers and if the required PM becomes available, configuration admin is registered.
- PersistenceManagerTracker(BundleContext, ConfigurationAdminStarter, String) - Constructor for class org.apache.felix.cm.impl.persistence.PersistenceManagerTracker
- PersistenceManagerTracker.Holder - Class in org.apache.felix.cm.impl.persistence
- PROPERTY_NAME - Static variable in interface org.apache.felix.cm.PersistenceManager
-
Service registration property to define a unique name for the persistence manager.
- provideConfiguration(ServiceReference<ManagedService>, TargetedPID, TargetedPID, Dictionary<String, ?>, long, ConfigurationMap<?>) - Method in class org.apache.felix.cm.impl.helper.ManagedServiceTracker
-
Provides the given configuration to the managed service.
- provideConfiguration(ServiceReference<ManagedServiceFactory>, TargetedPID, TargetedPID, Dictionary<String, ?>, long, ConfigurationMap<?>) - Method in class org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker
- provideConfiguration(ServiceReference<S>, TargetedPID, TargetedPID, Dictionary<String, ?>, long, ConfigurationMap<?>) - Method in class org.apache.felix.cm.impl.helper.BaseTracker
-
Updates the given service with the provided configuration.
- put(TargetedPID, T) - Method in class org.apache.felix.cm.impl.helper.ConfigurationMap
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. - record(TargetedPID, TargetedPID, long) - Method in class org.apache.felix.cm.impl.helper.ConfigurationMap
- record(TargetedPID, TargetedPID, long) - Method in class org.apache.felix.cm.impl.helper.ManagedServiceFactoryConfigurationMap
- removeConfiguration(TargetedPID, TargetedPID) - Method in class org.apache.felix.cm.impl.helper.ConfigurationMap
- removeConfiguration(TargetedPID, TargetedPID) - Method in class org.apache.felix.cm.impl.helper.ManagedServiceFactoryConfigurationMap
- removeConfiguration(ServiceReference<ManagedService>, TargetedPID, TargetedPID) - Method in class org.apache.felix.cm.impl.helper.ManagedServiceTracker
- removeConfiguration(ServiceReference<ManagedServiceFactory>, TargetedPID, TargetedPID) - Method in class org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker
- removeConfiguration(ServiceReference<S>, TargetedPID, TargetedPID) - Method in class org.apache.felix.cm.impl.helper.BaseTracker
-
Remove the configuration indicated by the
configPidfrom the service. - removedService(ServiceReference<PersistenceManager>, PersistenceManagerTracker.Holder) - Method in class org.apache.felix.cm.impl.persistence.PersistenceManagerTracker
- removedService(ServiceReference<S>, ConfigurationMap<?>) - Method in class org.apache.felix.cm.impl.helper.BaseTracker
S
- setConfiguredPids(String[]) - Method in class org.apache.felix.cm.impl.helper.ConfigurationMap
- shallTake(TargetedPID, TargetedPID, long) - Method in class org.apache.felix.cm.impl.helper.ConfigurationMap
- shallTake(TargetedPID, TargetedPID, long) - Method in class org.apache.felix.cm.impl.helper.ManagedServiceFactoryConfigurationMap
- stop() - Method in class org.apache.felix.cm.impl.persistence.PersistenceManagerTracker
-
Stop the tracker
- 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 class org.apache.felix.cm.impl.persistence.CachingPersistenceManagerProxy
-
Stores the dictionary in the cache and in the underlying persistence manager.
- store(String, Dictionary) - Method in class org.apache.felix.cm.impl.persistence.MemoryPersistenceManager
- store(String, Dictionary) - Method in class org.apache.felix.cm.impl.persistence.PersistenceManagerProxy
-
Stores the dictionary in the cache and in the underlying persistence manager.
- store(String, Dictionary) - Method in interface org.apache.felix.cm.PersistenceManager
-
Stores the
Dictionaryunder the givenpid.
T
- TargetedPID - Class in org.apache.felix.cm.impl.helper
-
The
TargetedPIDclass represents a targeted PID as read from a configuration object. - TargetedPID(String) - Constructor for class org.apache.felix.cm.impl.helper.TargetedPID
- 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
- toString() - Method in class org.apache.felix.cm.impl.helper.TargetedPID
- type2Code - Static variable in class org.apache.felix.cm.file.ConfigurationHandler
U
- ungetRealService(ServiceReference<S>) - Method in class org.apache.felix.cm.impl.helper.BaseTracker
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 and Interfaces|All Packages|Constant Field Values