SpringBoot
object SpringBoot : ApplicationFactory<SpringBootApplicationConfiguration, SpringBootApplicationBuilder, SpringBootApplication> (source)
兼容 Spring Boot 的 Application 工厂。
SpringBootApplication
SpringBoot 提供的 Application 实现为 SpringBootApplication.
扩展函数
SpringBoot 工厂提供了 springBootApplication 等扩展了 simbotApplication 的函数来简化操作。
See also
Functions
Link copied to clipboard
open suspend override fun create(configurator: SpringBootApplicationConfiguration.() -> Unit, builder: suspend SpringBootApplicationBuilder.(SpringBootApplicationConfiguration) -> Unit): SpringBootApplication
suspend fun create(configuration: SpringBootApplicationConfiguration, builder: suspend SpringBootApplicationBuilder.(SpringBootApplicationConfiguration) -> Unit): SpringBootApplication
直接提供配置类进行构建。
Link copied to clipboard
open fun createBlocking(configurator: SpringBootApplicationConfiguration.() -> Unit, builder: suspend SpringBootApplicationBuilder.(SpringBootApplicationConfiguration) -> Unit): SpringBootApplication