Spring container creation initialization

 Spring
container creation and initialization

1. Refresh preprocessing action
2. Refresh, get bean factory
3. Preparatory work
of bean factory 4. Post-processing work
of bean factory 5. Processing work after standard initialization of bean factory
6. Register bean The post-processor of the factory (intercepting the creation process of the bean
7. Initializing the messageSource component (internationalization, message binding, message parsing)
8. Initializing the event dispatcher
9. Onrefresh is left to the child container, and the logic is customized when the container refreshes
10 .Register the listener, register the events and listeners before the container
11.Initialize all remaining single-instance beans
12.Complete the initialization and creation of the bean factory, and the IOC creation is completed (initialize the content related to the life cycle) 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325393885&siteId=291194637