DefaultSimbotApplicationProcessor
class DefaultSimbotApplicationProcessor(properties: SpringApplicationConfigurationProperties, eventListenerResolvers: List<SimbotEventListenerResolver>, preConfigurer: List<SimbotApplicationPreConfigurer>, postConfigurer: List<SimbotApplicationPostConfigurer>, eventDispatcherProcessor: SimbotEventDispatcherProcessor) : SimbotApplicationProcessor(source)
SimbotApplicationProcessor 的默认实现, 默认行为中会进行如下内容:
扫描、加载事件处理器(SimbotEventListenerResolver)并注册
扫描、加载所有的可注册 bot
Author
ForteScarlet
Constructors
Link copied to clipboard
constructor(properties: SpringApplicationConfigurationProperties, eventListenerResolvers: List<SimbotEventListenerResolver>, preConfigurer: List<SimbotApplicationPreConfigurer>, postConfigurer: List<SimbotApplicationPostConfigurer>, eventDispatcherProcessor: SimbotEventDispatcherProcessor)