Class JsonConfigInstaller

  • All Implemented Interfaces:
    org.apache.felix.fileinstall.ArtifactInstaller, org.apache.felix.fileinstall.ArtifactListener, org.osgi.service.cm.ConfigurationListener

    public class JsonConfigInstaller
    extends Object
    implements org.apache.felix.fileinstall.ArtifactInstaller, org.osgi.service.cm.ConfigurationListener
    • Constructor Detail

      • JsonConfigInstaller

        public JsonConfigInstaller​(org.osgi.service.cm.ConfigurationAdmin configurationAdmin)
    • Method Detail

      • canHandle

        public boolean canHandle​(File artifact)
        Specified by:
        canHandle in interface org.apache.felix.fileinstall.ArtifactListener
      • install

        public void install​(File artifact)
                     throws Exception
        Specified by:
        install in interface org.apache.felix.fileinstall.ArtifactInstaller
        Throws:
        Exception
      • update

        public void update​(File artifact)
                    throws Exception
        Specified by:
        update in interface org.apache.felix.fileinstall.ArtifactInstaller
        Throws:
        Exception
      • uninstall

        public void uninstall​(File artifact)
                       throws Exception
        Specified by:
        uninstall in interface org.apache.felix.fileinstall.ArtifactInstaller
        Throws:
        Exception
      • configurationEvent

        public void configurationEvent​(org.osgi.service.cm.ConfigurationEvent event)
        Specified by:
        configurationEvent in interface org.osgi.service.cm.ConfigurationListener