ApplicationEngineEnvironment
interface ApplicationEngineEnvironment :
ApplicationEnvironment
Represents an environment in which engine runs
Properties
abstract val application: Application Running Application |
|
abstract val connectors: List<EngineConnectorConfig> Connectors that describers where and how server should listen |
Inherited Properties
abstract val classLoader: ClassLoader ClassLoader used to load application. |
|
abstract val config: ApplicationConfig Configuration for the Application |
|
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). |
Functions
abstract fun start(): Unit Starts ApplicationEngineEnvironment and creates an application |
|
abstract fun stop(): Unit Stops ApplicationEngineEnvironment and destroys any running application |
Inheritors
class ApplicationEngineEnvironmentReloading : Implements ApplicationEngineEnvironment by loading an Application from a folder or jar. |