Class DistributedComponentConfigStore

    • Constructor Detail

      • DistributedComponentConfigStore

        public DistributedComponentConfigStore()
    • Method Detail

      • activate

        public void activate()
      • deactivate

        public void deactivate()
      • setProperty

        public void setProperty​(String componentName,
                                String name,
                                String value)
        Description copied from interface: ComponentConfigStore
        Sets the value of the specified configuration property.
        Specified by:
        setProperty in interface ComponentConfigStore
        Parameters:
        componentName - component name
        name - property name
        value - new property value
      • setProperty

        public void setProperty​(String componentName,
                                String name,
                                String value,
                                boolean override)
        Description copied from interface: ComponentConfigStore
        Sets the value of the specified configuration property.
        Specified by:
        setProperty in interface ComponentConfigStore
        Parameters:
        componentName - component name
        name - property name
        value - new property value
        override - true to override even if the property has been set to other value
      • unsetProperty

        public void unsetProperty​(String componentName,
                                  String name)
        Description copied from interface: ComponentConfigStore
        Clears the value of the specified configuration property thus making the property take on its default value.
        Specified by:
        unsetProperty in interface ComponentConfigStore
        Parameters:
        componentName - component name
        name - property name
      • getProperties

        public Set<String> getProperties​(String componentName)
        Description copied from interface: ComponentConfigStore
        Returns set of component configuration property names. This includes only the names of properties whose values depart from their default.
        Specified by:
        getProperties in interface ComponentConfigStore
        Parameters:
        componentName - component name
        Returns:
        set of property names whose values are set to non-default values
      • getProperty

        public String getProperty​(String componentName,
                                  String name)
        Description copied from interface: ComponentConfigStore
        Returns the string value of the given component configuration property. For properties whose values are set to their default this may return null.
        Specified by:
        getProperty in interface ComponentConfigStore
        Parameters:
        componentName - component name
        name - property name; null if no property found or if value is default
        Returns:
        set of property names