ApplicationEnvironment
interface ApplicationEnvironment
Represents an environment in which Application runs
Properties
abstract val classLoader: ClassLoader ClassLoader used to load application. |
|
abstract val config: ApplicationConfig Configuration for the Application |
|
abstract val developmentMode: Boolean Indicates if development mode is enabled. |
|
abstract val log: Logger Instance of Logger to be used for logging. |
|
abstract val monitor: ApplicationEvents Provides events on Application lifecycle |
|
abstract val parentCoroutineContext: <ERROR CLASS> Parent coroutine context for an application |
|
abstract val rootPath: String Application’s root path (prefix, context path in servlet container). |
Inheritors
interface ApplicationEngineEnvironment : Represents an environment in which engine runs. |