ApplicationEngineEnvironmentReloading
class ApplicationEngineEnvironmentReloading :
ApplicationEngineEnvironment
Implements ApplicationEngineEnvironment by loading an Application from a folder or jar.
watchPaths specifies substrings to match against class path entries to monitor changes in folder/jar and implements hot reloading
Constructors
ApplicationEngineEnvironmentReloading( ApplicationEngineEnvironmentReloading( Implements ApplicationEngineEnvironment by loading an Application from a folder or jar. |
Properties
val application: Application Running Application |
|
val classLoader: ClassLoader ClassLoader used to load application. |
|
val config: ApplicationConfig Configuration for the Application |
|
val connectors: List<EngineConnectorConfig> Connectors that describers where and how server should listen |
|
val log: Logger Instance of Logger to be used for logging. |
|
val monitor: ApplicationEvents Provides events on Application lifecycle |
|
val parentCoroutineContext: <ERROR CLASS> Parent coroutine context for an application |
|
val rootPath: String Application’s root path (prefix, context path in servlet container). |
Functions
fun reload(): Unit Reload application: destroy it first and then create again |
|
fun start(): Unit Starts ApplicationEngineEnvironment and creates an application |
|
fun stop(): Unit Stops ApplicationEngineEnvironment and destroys any running application |