The BeanPostProcessor interface helps us provide our own methods before the initialization of beans and likewise after the initialization of the bean.
BeanPostProcessor are common for all beans in the container where it is defined, so it is different from @PostConstruct, InitializingBean and custom init method which are defined on the bean itself.
Related Article: Spring Bean Life Cycle
[Continue reading…] “Spring Bean Post Processors”
Spring Bean Life Cycle is very important because in many applications, we want to create some operations before initializing a Bean or make some operations before bean’s destruction.
This tutorial introduce four ways to control life cycle events of a Bean.
[Continue reading…] “Spring Bean Life Cycle – Callback Interface, Custom Method, Annotation, Aware Interface”