Context

play.api.ApplicationLoader.Context
See theContext companion object
final case class Context(environment: Environment, initialConfiguration: Configuration, lifecycle: ApplicationLifecycle, devContext: Option[DevContext])

The context for loading an application.

Value parameters

devContext

If an application is loaded in dev mode then this additional context is available.

environment

The environment

initialConfiguration

The initial configuration. This configuration is not necessarily the same configuration used by the application, as the ApplicationLoader may, through it's own mechanisms, modify it or completely ignore it.

lifecycle

Used to register hooks that run when the application stops.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Deprecated methods

Attributes

Deprecated
true

Attributes

Deprecated
true

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product