PersistenceManager
interface defines the API to be implemented to support persisting configuration data. This interface may be implemented by bundles, which support storing configuration data in different locations. The Apache Felix Configuration Admin Service bundles provides an implementation of this interface using the platform filesystem to store configuration data.
Implementations of this interface must support loading and storing java.util.Dictionary
objects as defined in section 104.4.2, Configuration Properties, of the Configuration Admin Service Specification Version 1.2.
To make implementations of this interface available to the Configuration Admin Service they must be registered as service for this interface. The Configuration Admin Service will consider all registered services plus the default platform file system based implementation to load configuration data. To store new configuration data, the persistence manager service with the highest rank value - the service.ranking
service property - is used. If no pesistence manager service has been registered, the platfrom file system based implementation is used.
|
|
|
|