package api
- Alphabetic
- Public
- Protected
Type Members
- trait ConfigLoader[A] extends AnyRef
A config loader
- case class Configuration(underlying: Config) extends Product with Serializable
A full configuration set.
A full configuration set.
The underlying implementation is provided by https://github.com/lightbend/config.
- underlying
the underlying Config implementation
- case class Environment(rootPath: File, classLoader: ClassLoader, mode: Mode) extends Product with Serializable
The environment for the application.
The environment for the application.
Captures concerns relating to the classloader and the filesystem for the application.
- rootPath
The root path that the application is deployed at.
- classLoader
The classloader that all application classes and resources can be loaded from.
- mode
The mode of the application.
- sealed abstract class Mode extends AnyRef
Application mode, either
Dev,Test, orProd.Application mode, either
Dev,Test, orProd.- See also
Value Members
- object ConfigLoader
- object Configuration extends Serializable
This object provides a set of operations to create
Configurationvalues.This object provides a set of operations to create
Configurationvalues.For example, to load a
Configurationin a running application:val config = Configuration.load() val foo = config.getString("foo").getOrElse("boo")
The underlying implementation is provided by https://github.com/lightbend/config.
- object Environment extends Serializable
- object Mode