ApplicationEnvironment

expect interface ApplicationEnvironment

Represents an environment in which Application runs

actual interface ApplicationEnvironment

Represents an environment in which Application runs

actual interface ApplicationEnvironment

Properties

Link copied to clipboard
abstract val classLoader: ClassLoader

ClassLoader used to load application.

Link copied to clipboard
expect abstract val config: ApplicationConfig

Configuration for the Application

actual abstract val config: ApplicationConfig

Configuration for the Application

actual abstract val config: ApplicationConfig

Configuration for the Application

Link copied to clipboard
expect abstract val developmentMode: Boolean

Indicates if development mode is enabled.

actual abstract val developmentMode: Boolean

Indicates if development mode is enabled.

actual abstract val developmentMode: Boolean

Indicates if development mode is enabled.

Link copied to clipboard
expect abstract val log: <ERROR CLASS>

Instance of Logger to be used for logging.

actual abstract val log: <ERROR CLASS>

Instance of Logger to be used for logging.

actual abstract val log: <ERROR CLASS>

Instance of Logger to be used for logging.

Link copied to clipboard
expect abstract val monitor: <ERROR CLASS>

Provides events on Application lifecycle

actual abstract val monitor: <ERROR CLASS>

Provides events on Application lifecycle

actual abstract val monitor: <ERROR CLASS>

Provides events on Application lifecycle

Link copied to clipboard
expect abstract val parentCoroutineContext: CoroutineContext

Parent coroutine context for an application

actual abstract val parentCoroutineContext: CoroutineContext

Parent coroutine context for an application

actual abstract val parentCoroutineContext: CoroutineContext

Parent coroutine context for an application

Link copied to clipboard
expect abstract val rootPath: String

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

actual abstract val rootPath: String

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

actual abstract val rootPath: String

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