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?

Ninja Asked on 17th September 2018 in Spring.
Add Comment
1 Answer(s)
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.

Ninja Answered on 17th September 2018.
Add Comment