Class StaticConfigAdminImpl

  • All Implemented Interfaces:
    org.osgi.service.cm.ConfigurationAdmin

    public class StaticConfigAdminImpl
    extends Object
    implements org.osgi.service.cm.ConfigurationAdmin
    • Constructor Detail

      • StaticConfigAdminImpl

        public StaticConfigAdminImpl​(org.osgi.framework.BundleContext context,
                                     List<org.osgi.service.cm.Configuration> configs)
                              throws IOException
        Throws:
        IOException
    • Method Detail

      • createFactoryConfiguration

        public org.osgi.service.cm.Configuration createFactoryConfiguration​(String factoryPid)
                                                                     throws IOException
        Specified by:
        createFactoryConfiguration in interface org.osgi.service.cm.ConfigurationAdmin
        Throws:
        IOException
      • createFactoryConfiguration

        public org.osgi.service.cm.Configuration createFactoryConfiguration​(String factoryPid,
                                                                            String location)
                                                                     throws IOException
        Specified by:
        createFactoryConfiguration in interface org.osgi.service.cm.ConfigurationAdmin
        Throws:
        IOException
      • getConfiguration

        public org.osgi.service.cm.Configuration getConfiguration​(String pid,
                                                                  String location)
                                                           throws IOException
        Specified by:
        getConfiguration in interface org.osgi.service.cm.ConfigurationAdmin
        Throws:
        IOException
      • getConfiguration

        public org.osgi.service.cm.Configuration getConfiguration​(String pid)
                                                           throws IOException
        Specified by:
        getConfiguration in interface org.osgi.service.cm.ConfigurationAdmin
        Throws:
        IOException
      • listConfigurations

        public org.osgi.service.cm.Configuration[] listConfigurations​(String filter)
                                                               throws IOException,
                                                                      org.osgi.framework.InvalidSyntaxException
        Specified by:
        listConfigurations in interface org.osgi.service.cm.ConfigurationAdmin
        Throws:
        IOException
        org.osgi.framework.InvalidSyntaxException
      • getFactoryConfiguration

        public org.osgi.service.cm.Configuration getFactoryConfiguration​(String factoryPid,
                                                                         String name,
                                                                         String location)
                                                                  throws IOException
        Specified by:
        getFactoryConfiguration in interface org.osgi.service.cm.ConfigurationAdmin
        Throws:
        IOException
      • getFactoryConfiguration

        public org.osgi.service.cm.Configuration getFactoryConfiguration​(String factoryPid,
                                                                         String name)
                                                                  throws IOException
        Specified by:
        getFactoryConfiguration in interface org.osgi.service.cm.ConfigurationAdmin
        Throws:
        IOException