摘要:
spring提供的Bean级生命周期接口有BeanNameAware、BeanFactoryAware、InitializingBean、DisposableBean; 1、BeanNameAware和BeanFactoryAware BeanNameAware接口用于为实现了该接口的Bean设置B 阅读全文
posted @ 2020-07-07 21:15
光头用沙宣
阅读(276)
评论(0)
推荐(0)
摘要:
接着AbstractApplicationContext.refresh方法:initApplicationEventMulticaster,该方法用来初始化事件广播器,流程如下: protected void initApplicationEventMulticaster() { // 获取Bea 阅读全文
posted @ 2020-07-07 14:40
光头用沙宣
阅读(199)
评论(0)
推荐(0)

浙公网安备 33010602011771号