Class ConfigFileEnvironment

  • All Implemented Interfaces:
    Environment

    public class ConfigFileEnvironment
    extends Object
    implements Environment
    This environment uses Lightbend Config to read the configuration data. You can either provide a Lightbend Config object or give a File, Path or Reader where the config file can be read. System environment variables always take precedence over configurations from a file. The default configuration is also always read.