PrepareKeyInitializer

class PrepareKeyInitializer : ApplicationContextAware, SmartInitializingSingleton

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun afterSingletonsInstantiated()

在所有单例Bean初始化完成后执行 获取所有PrepareKey类型的Bean,由于PrepareKey的初始化工作在构造函数中完成, 所以只要获取到Bean就已完成初始化

Link copied to clipboard
open override fun setApplicationContext(applicationContext: ApplicationContext)