Class CmPersistenceManager

  • All Implemented Interfaces:
    org.apache.felix.cm.PersistenceManager

    public class CmPersistenceManager
    extends Object
    implements org.apache.felix.cm.PersistenceManager
    Our own implementation of a PersistenceManager, using the CM system instead of files. It is responsible for providing configurations to Osgi.
    • Field Detail

      • OSGI_PROPERTIES

        public static final Set<String> OSGI_PROPERTIES
        Properties that are relevant for the inner workings of osgi but shouldn't be exposed to cm. They will be filtered our while writing to cm.
    • Method Detail

      • exists

        public boolean exists​(String pid)
        Specified by:
        exists in interface org.apache.felix.cm.PersistenceManager
      • getDictionaries

        public Enumeration getDictionaries()
        Specified by:
        getDictionaries in interface org.apache.felix.cm.PersistenceManager
      • load

        public Dictionary load​(String pid)
        Specified by:
        load in interface org.apache.felix.cm.PersistenceManager
      • delete

        public void delete​(String pid)
                    throws IOException
        Specified by:
        delete in interface org.apache.felix.cm.PersistenceManager
        Throws:
        IOException