Tagged articles

application-context

1 articles · Page 1 of 1
IT Xianyu
IT Xianyu
Dec 28, 2020 · Backend Development

Comprehensive Overview of Spring & Spring Boot Extension Points and Bean Lifecycle

This article provides a detailed summary of Spring and Spring Boot's bean lifecycle, enumerating all major extension interfaces—including ApplicationContextInitializer, BeanDefinitionRegistryPostProcessor, BeanFactoryPostProcessor, InstantiationAwareBeanPostProcessor, SmartInstantiationAwareBeanPostProcessor, various Aware interfaces, FactoryBean, CommandLineRunner, and ApplicationListener—along with usage scenarios and code examples, enabling developers to customize bean initialization and container behavior.

Bean LifecycleSpringBootapplication-context
0 likes · 19 min read
Comprehensive Overview of Spring & Spring Boot Extension Points and Bean Lifecycle