Create a new Configuration from the given key-value pairs.
Returns an empty Configuration object.
Create a new Configuration from the data passed as a Map.
Load a new Configuration from the Environment.
Load a new Configuration from the Environment.
Returns the reference configuration object.
Loads a new Configuration
either from the classpath or from
conf/application.conf
depending on the application's Mode.
Loads a new Configuration
either from the classpath or from
conf/application.conf
depending on the application's Mode.
The provided mode is used if the application is not ready
yet, just like when calling this method from play.api.Application
.
Defaults to Mode.Dev
Application mode.
a Configuration
instance
(Since version 2.4.0) Use load(Environment, Map[String,AnyRef]) instead
This object provides a set of operations to create
Configuration
values.For example, to load a
Configuration
in a running application:The underlying implementation is provided by https://github.com/typesafehub/config.