SmartInitializingSingleton: 调用链路: 在所有bean完成初始化之后回调 bean需要实现此接口 org.springframework.context.support.AbstractApplicationContext#refresh -// Instantiate all remaining (non-lazy-init) singletons. finishBeanFactoryInitialization(beanFactory); -// Instantiate all remaining (non-lazy-init) singletons. beanFactory.preInstantiateSingletons(); - // Trigger post-initialization callback for all applicable beans