PropertiesConfiguration class

Provides the standard property file-based configuration facility for CSI.

Syntax

public class PropertiesConfiguration

Remarks

This configuration provider can use configuration data from three different sources in various combinations:
  • A file on the filesystem
  • A resource loaded from the classpath
  • A java.util.Properties object specified programmatically
Loading from a file and resource are each mutually exclusive. The Properties object overrides those values loaded from either the file or resource.

System properties may be used to alter the default behavior when the class is instantiated, or the values may be modified programmatically.

System property values may be embedded into the values side of the properties file. The format of the value must be ${system.property.name}.