Lifecycle callbacks
The spring framework provided 2 types of Lifecycle callbacks and those are:
initialization callback: Spring Container will invokes the methods of initialization callbacks after initialization of bean and its dependencies.
Destruction callback: Spring Container will invokes the methods of destruction callbacks before container destroys.
Internally, the Spring Framework uses BeanPostProcessor imple…
View On WordPress















