In Spring, what are bean post processors?
Answered
In Spring, what are bean post processors? Can we associate multiple bean post processors with a bean?
Best answer
In Spring framework, the BeanPostProcessor interface defines a number of callback methods that an application developer can implement in order to provide their own instantiation logic, dependency-resolution logic etc. These methods are invoked by the Spring container after it has finished with bean instantiation, configuring and initialization.
Multiple BeanPostProcessor can be configured for a bean. The order of their execution can be controlled through “order” property.