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