Class StaticConfigurationImpl

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

    public class StaticConfigurationImpl
    extends Object
    implements org.osgi.service.cm.Configuration
    • Constructor Detail

    • Method Detail

      • getPid

        public String getPid()
        Specified by:
        getPid in interface org.osgi.service.cm.Configuration
      • getProperties

        public Dictionary<String,​Object> getProperties()
        Specified by:
        getProperties in interface org.osgi.service.cm.Configuration
      • delete

        public void delete()
                    throws IOException
        Specified by:
        delete in interface org.osgi.service.cm.Configuration
        Throws:
        IOException
      • getFactoryPid

        public String getFactoryPid()
        Specified by:
        getFactoryPid in interface org.osgi.service.cm.Configuration
      • update

        public void update()
                    throws IOException
        Specified by:
        update in interface org.osgi.service.cm.Configuration
        Throws:
        IOException
      • setBundleLocation

        public void setBundleLocation​(String location)
        Specified by:
        setBundleLocation in interface org.osgi.service.cm.Configuration
      • getBundleLocation

        public String getBundleLocation()
        Specified by:
        getBundleLocation in interface org.osgi.service.cm.Configuration
      • getChangeCount

        public long getChangeCount()
        Specified by:
        getChangeCount in interface org.osgi.service.cm.Configuration
      • getProcessedProperties

        public Dictionary<String,​Object> getProcessedProperties​(org.osgi.framework.ServiceReference<?> reference)
        Specified by:
        getProcessedProperties in interface org.osgi.service.cm.Configuration
      • updateIfDifferent

        public boolean updateIfDifferent​(Dictionary<String,​?> properties)
                                  throws IOException
        Specified by:
        updateIfDifferent in interface org.osgi.service.cm.Configuration
        Throws:
        IOException
      • addAttributes

        public void addAttributes​(org.osgi.service.cm.Configuration.ConfigurationAttribute... attrs)
                           throws IOException
        Specified by:
        addAttributes in interface org.osgi.service.cm.Configuration
        Throws:
        IOException
      • getAttributes

        public Set<org.osgi.service.cm.Configuration.ConfigurationAttribute> getAttributes()
        Specified by:
        getAttributes in interface org.osgi.service.cm.Configuration
      • removeAttributes

        public void removeAttributes​(org.osgi.service.cm.Configuration.ConfigurationAttribute... attrs)
                              throws IOException
        Specified by:
        removeAttributes in interface org.osgi.service.cm.Configuration
        Throws:
        IOException