SimbootApplication
annotation class SimbootApplication(val classesPackages: Array<String> = [], val topListenerPackages: Array<String> = [], val classesPackagesForTopListener: Boolean = false, val topBinderPackages: Array<String> = [], val classesPackagesForTopBinder: Boolean = false, val botResources: Array<String> = [], val autoStartBots: Boolean = true)
基础的 boot-core 所使用的启动类标记注解,提供部分参数, 主要用于在 SimbootApp 中使用。
不应 在spring环境下使用。
SimbootApplication 暂不支持注解继承等机制。在使用的时候会直接被获取。
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
是否在 topBinderPackages 为空的情况下使用 classesPackages 的最终值。 如果为 true
, 则当 topBinderPackages 为空的时候(也就是默认的时候)使用 classesPackages. 同样的,如果 classesPackages 为空,则会使用被标记类所在包的路径。
Link copied to clipboard
是否在 topListenerPackages 为空的情况下使用 classesPackages 的最终值。 如果为 true
, 则当 topListenerPackages 为空的时候(也就是默认的时候)使用 classesPackages. 同样的,如果 classesPackages 为空,则会使用被标记类所在包的路径。
Link copied to clipboard
Link copied to clipboard