ApplicationEnvironment

interface ApplicationEnvironment

Represents an environment in which Application runs

Properties

Link copied to clipboard
abstract val classLoader: ClassLoader

ClassLoader used to load application.

Link copied to clipboard
abstract val config: ApplicationConfig

Configuration for the Application

Link copied to clipboard
abstract val developmentMode: Boolean

Indicates if development mode is enabled.

Link copied to clipboard
abstract val log: Logger

Instance of Logger to be used for logging.

Link copied to clipboard
abstract val monitor: ApplicationEvents

Provides events on Application lifecycle

Link copied to clipboard
abstract val parentCoroutineContext: CoroutineContext

Parent coroutine context for an application

Link copied to clipboard
abstract val rootPath: String

Application's root path (prefix, context path in servlet container).