ApplicationEngineEnvironmentReloading
class ApplicationEngineEnvironmentReloading(val classLoader: ClassLoader, val log: Logger, val config: ApplicationConfig, val connectors: List<EngineConnectorConfig>, modules: List<Application.() -> Unit>, watchPaths: List<String> = emptyList(), parentCoroutineContext: CoroutineContext = EmptyCoroutineContext, val rootPath: String = "", val developmentMode: Boolean = true) : 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
Link copied to clipboard
constructor(classLoader: ClassLoader, log: Logger, config: ApplicationConfig, connectors: List<EngineConnectorConfig>, modules: List<Application.() -> Unit>, watchPaths: List<String> = emptyList(), parentCoroutineContext: CoroutineContext = EmptyCoroutineContext, rootPath: String = "")
constructor(classLoader: ClassLoader, log: Logger, config: ApplicationConfig, connectors: List<EngineConnectorConfig>, modules: List<Application.() -> Unit>, watchPaths: List<String> = emptyList(), parentCoroutineContext: CoroutineContext = EmptyCoroutineContext, rootPath: String = "", developmentMode: Boolean = true)
Properties
Link copied to clipboard
Running Application.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Connectors that describers where and how server should listen.
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Starts ApplicationEngineEnvironment and creates an application.
Link copied to clipboard
Stops ApplicationEngineEnvironment and destroys any running application.