Package-level declarations
Types
Link copied to clipboard
interface BeanContainerBuilder
在 BootApplicationBuilder 中通过 BootApplicationBuilder.beans 配置依赖管理信息。
Link copied to clipboard
object Boot : ApplicationFactory<BootApplicationConfiguration, BootApplicationBuilder, BootApplication>
boot-core 模块所提供的 ApplicationFactory 实现,基于 SimpleApplication 的拓展。
Link copied to clipboard
Boot 所得到的最终的 Application 实现, 基于 SimpleApplication.
Link copied to clipboard
用于构建 BootApplication 的构建器。
Link copied to clipboard
Boot 所使用的配置类型。
Link copied to clipboard
class BotAutoRegistrationFailureException @InternalSimbotApi constructor(message: String?) : IllegalStateException
通过自动扫描注册bot时bot无法注册时出现的异常。
Link copied to clipboard
当自动扫描的bot注册失败时的处理策略。
Link copied to clipboard
interface ParameterBinderBuilder
Functions
Link copied to clipboard
fun bootApplication(configurator: BootApplicationConfiguration.() -> Unit = {}, builder: BootApplicationBuilder.(BootApplicationConfiguration) -> Unit = {}): ApplicationLauncher<BootApplication>
通过 simbotApplication 并使用 Boot 作为 Application Factory 来构建一个 BootApplication 的 ApplicationLauncher.
Link copied to clipboard
suspend fun buildBootApplication(block: ApplicationDslBuilder<BootApplicationConfiguration, BootApplicationBuilder, BootApplication>.() -> Unit = {}): BootApplication
通过 buildSimbotApplication 来提供 DSL
风格的方式来配置 BootApplication.
Link copied to clipboard
fun buildBootApplicationLauncher(block: ApplicationDslBuilder<BootApplicationConfiguration, BootApplicationBuilder, BootApplication>.() -> Unit = {}): ApplicationLauncher<BootApplication>
通过 buildSimbotApplication 来提供 DSL
风格的方式来配置 BootApplication.
Link copied to clipboard
suspend fun createBootApplication(configurator: BootApplicationConfiguration.() -> Unit = {}, builder: BootApplicationBuilder.(BootApplicationConfiguration) -> Unit = {}): BootApplication
通过 createSimbotApplication 并使用 Boot 作为 Application Factory 来构建一个 BootApplication.