源码分析
Java · 5 notes
- 1. Create the Spring Containerhistorical
Creating a Spring container triggers refresh. These notes trace container initialization and bean retrieval from ApplicationContext creation.
- 2. Call BeanFactoryPostProcessor's postProcess Methodhistorical
Spring invokes BeanFactoryPostProcessors during container refresh. These notes trace their execution from invokeBeanFactoryPostProcessors.
- 3. Register BeanPostProcessorhistorical
Spring registers bean post-processors through registerBeanPostProcessors. These notes follow the delegated calls that perform registration.
- Spring IoC Source: Instantiating All Non-Lazy Singleton Beanshistorical
FinishBeanFactoryInitialization instantiates non-lazy singleton beans. These notes focus on the execution of preInstantiateSingletons.
- UML Diagramhistorical
UML diagrams organize relationships among Spring IOC classes as a structural reference for reading container source code.