1. Usagehistorical

    1. Create the project 2. pom.xml 3. Code

  2. What It Ishistorical

    1. Explanation of IoC 2. Implementation principle 3. Benefits of IoC

  3. 1. Create the Spring Containerhistorical

    1. Code to analyze 2. Create ApplicationContext and trace the refresh process

  4. 2. Call BeanFactoryPostProcessor's postProcess Methodhistorical

    1. Code to study 2. Process BeanDefinitionRegistryPostProcessors 3. Process BeanFactoryPostProcessors

  5. 3. Register BeanPostProcessorhistorical

    1. Code to study 2. Obtain BeanPostProcessors 3. Classify them 4-7. Register each group

  6. Spring IoC Source: Instantiating All Non-Lazy Singleton Beanshistorical

    Source tracing of finishBeanFactoryInitialization and preInstantiateSingletons through getBean, singleton lookup and creation, BeanPostProcessors, bean instantiation, property population, initialization, proxy creation, and destruction registration.

  7. UML Diagramhistorical

    Spring IoC UML diagram