Skip to content

Commit 297a2e9

Browse files
committed
补充缺失内容
1 parent 9f8ee8a commit 297a2e9

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

Writerside/topics/Spring-Boot.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,64 @@ simbot:
420420
</def>
421421
</deflist>
422422

423+
## 额外的定制化配置
424+
425+
starter 提供了大量的 `*Configurer` 类型来支持你对启动过程中的各个步骤添加**额外**的自定义配置。
426+
427+
<deflist>
428+
<def title="SimbotApplicationConfigurationConfigurer">
429+
430+
针对 `Application` 配置属性的额外配置器。
431+
432+
</def>
433+
<def title="SimbotDispatcherConfigurer">
434+
435+
针对 Spring 下的事件调度器 `EventDispatcher` 的额外配置器。
436+
437+
</def>
438+
<def title="SimbotComponentInstaller">
439+
440+
`Component` 组件安装器。
441+
442+
</def>
443+
<def title="SimbotPluginInstaller">
444+
445+
`Plugin` 插件安装器。
446+
447+
</def>
448+
<def title="SimbotApplicationLauncherPreConfigurer">
449+
450+
构建 `Application` 过程中, 安插在配置、安装其他内容之前的额外配置器。
451+
452+
</def>
453+
<def title="SimbotApplicationLauncherPostConfigurer">
454+
455+
构建 `Application` 过程中, 安插在配置、安装其他内容之后的额外配置器。
456+
457+
</def>
458+
<def title="SimbotApplicationPreConfigurer">
459+
460+
`Application` 构建完成后, (在一定范围内) 安插在其他配置之前的额外配置器。
461+
462+
</def>
463+
<def title="SimbotApplicationPostConfigurer">
464+
465+
`Application` 构建完成后, (在一定范围内) 安插在其他配置之后的额外配置器。
466+
467+
</def>
468+
<def title="SimbotEventDispatcherPostConfigurer">
469+
470+
`Application` 构建完成后, 针对 `EventDispatcher` 的额外配置器。
471+
472+
</def>
473+
<def title="SimbotEventListenerRegistrarPostConfigurer">
474+
475+
`Application` 构建完成后, 针对 `EventListenerRegistrar` 的额外配置器。
476+
477+
</def>
478+
</deflist>
479+
480+
423481
## 安装组件以及组件配置
424482

425483
你可以在上面的配置中看到,组件 `Component` 和 `Plugin` 默认情况下都是通过 SPI **自动加载** 的。

0 commit comments

Comments
 (0)