Concept Flow - Bean lifecycle overview
Bean Definition Loaded
Bean Instantiation
Populate Properties
BeanNameAware.setBeanName()
BeanFactoryAware.setBeanFactory()
Pre-initialization PostProcessors
InitializingBean.afterPropertiesSet()
Custom init-method
Bean Ready to Use
Container Shutdown
DisposableBean.destroy()
Custom destroy-method
Bean Destroyed
This flow shows the main steps a Spring Bean goes through from creation to destruction.