面试题 ApplicationContext refresh 的流程

image.png

1. prepareRefresh

image.png
image.png

2. obtainFreshBeanFactroy

image.png
image.png

3. prepareBeanfactory

image.png

4. postProcessBeanFactory

image.png

5. invokeBeanFactoryPostProcessors

image.png

6. registerBeanPostProcessors

image.png
image.png
image.png

7. initMessageSource

image.png

8. initApplicationEventMulticaster

image.png

9. onRefresh

image.png

10. registerListeners

image.png

11. finishBeanFactoryInitialization

image.png

12. finishRefresh

image.png

你可能感兴趣的:(面试题 ApplicationContext refresh 的流程)