SpringBootApplication

作为 Spring Boot StarterApplication 实现。

SpringBootApplication 用于作为一个 Spring Boot Starter 来使用的 Application 工厂, 此工厂通常在 Spring Boot 环境下配合 love.forte.simboot.spring.autoconfigure.EnableSimbot 注解来一键开箱, 而不需要通过 simbotApplication 等启动函数来手动开启 ———— 也不应该这么做。

因此, SpringBootApplication 是Java友好的。 相对于基础的 love.forte.simboot.core.application.Boot 模块而言, SpringBootApplication 将内部的依赖管理以及各种配置的实现全部交给了 Spring Boot ,因此会与 Spring Boot 之间有着更紧密的交融。

See also

Functions

Link copied to clipboard
Link copied to clipboard
abstract suspend fun join()
Link copied to clipboard
open fun joinBlocking()
Link copied to clipboard
abstract suspend fun shutdown(reason: Throwable?)
Link copied to clipboard
Link copied to clipboard
open fun shutdownBlocking()
open fun shutdownBlocking(reason: Throwable?)

Properties

Link copied to clipboard
abstract val botManagers: BotManagers
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard