ApplicationEngineEnvironmentReloading
class ApplicationEngineEnvironmentReloading(classLoader: ClassLoader, log: Logger, config: ApplicationConfig, connectors: List<EngineConnectorConfig>, modules: List<Application.() -> Unit>, watchPaths: List<String>, parentCoroutineContext: CoroutineContext, rootPath: String, developmentMode: Boolean) : ApplicationEngineEnvironment
Content copied to clipboard
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
fun ApplicationEngineEnvironmentReloading(classLoader: ClassLoader, log: Logger, config: ApplicationConfig, connectors: List<EngineConnectorConfig>, modules: List<Application.() -> Unit>, watchPaths: List<String> = emptyList(), parentCoroutineContext: CoroutineContext = EmptyCoroutineContext, rootPath: String = "")
Content copied to clipboard
Link copied to clipboard
fun ApplicationEngineEnvironmentReloading(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)
Content copied to clipboard
Types
Functions
Link copied to clipboard
Starts ApplicationEngineEnvironment and creates an application.
Link copied to clipboard
Stops ApplicationEngineEnvironment and destroys any running application.