springBootApplication
fun springBootApplication(initialConfiguration: SpringBootApplicationConfiguration = SpringBootApplicationConfiguration(), configurator: SpringBootApplicationConfiguration.() -> Unit = {}, builder: SpringBootApplicationBuilder.(SpringBootApplicationConfiguration) -> Unit = {}): ApplicationLauncher<SpringBootApplication>(source)
使用 SpringBoot 作为工厂构建一个 SpringBootApplication 为目标的 launcher.
springBootApplication 并非是 simbotApplication 的直接扩展。与 simbotApplication 不同的是, springBootApplication 可以提供一个 初始化配置 实例。