bootApplication
fun bootApplication(configurator: BootApplicationConfiguration.() -> Unit = {}, builder: BootApplicationBuilder.(BootApplicationConfiguration) -> Unit = {}): ApplicationLauncher<BootApplication>(source)
通过 simbotApplication 并使用 Boot 作为 Application Factory 来构建一个 BootApplication 的 ApplicationLauncher.
相当于 simbotApplication(Boot, configurator, builder)
。
e.g.
bootApplication({
// config...
}) {
// build...
}
Content copied to clipboard