Interface IConfigService


@Deprecated public interface IConfigService
Deprecated.
Deprecated without replacement, though it is possible to use System.getProperty(String) to access all configuration properties.
Serves the configuration which does not change during runtime.
Author:
POLARION SOFTWARE
  • Field Details

    • ENVIROMENT_PREFIX

      @Deprecated static final String ENVIROMENT_PREFIX
      Deprecated.
      environment properties are the same as normal properties
      Prefix for enviroment properties
      See Also:
  • Method Details

    • getApplicationProperties

      @Deprecated Properties getApplicationProperties()
      Deprecated.
      Returns:
      all loaded Properties.
    • getApplicationProperties

      @Deprecated Properties getApplicationProperties(String prefix)
      Deprecated.
      without replacement
      Parameters:
      prefix - - the prefix of property name
      Returns:
      the Properties which names start form given prefix
    • getProperties

      Properties getProperties()
      Deprecated.
      Returns all available properties.
      Returns:
      all properties (not null)
    • getPublicProperties

      Properties getPublicProperties()
      Deprecated.
      Returns all properties which can be made public (passed to spawned programs etc.)
      Returns:
      all public properties (not null)
    • isPublicProperty

      boolean isPublicProperty(String propertyName)
      Deprecated.
      Whether given property is public or not.
      Parameters:
      propertyName - property name (not null)
      Returns:
      true if given property is public
    • getPropertyValue

      String getPropertyValue(String propertyName)
      Deprecated.
      Returns value of given property.
      Parameters:
      propertyName - name of property to return
      Returns:
      the value of selected property or null if property does not exist