-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Description
Amir Pashazadeh opened SPR-17556 and commented
In following paragraph
The
org.springframework.beans.factory.config.BeanPostProcessorinterface consists of exactly two callback methods. When such a class is registered as a post-processor with the container, for each bean instance that is created by the container, the post-processor gets a callback from the container both before container initialization methods (such asInitializingBean.afterPropertiesSet(), after any declared init method) are called, and after any bean initialization callbacks. The post-processor can take any action with the bean instance, including ignoring the callback completely. A bean post-processor typically checks for callback interfaces, or it may wrap a bean with a proxy. Some Spring AOP infrastructure classes are implemented as bean post-processors in order to provide proxy-wrapping logic.
I believe after should be replaced with or,'cause statement in the parentheses is describing initializing methods.
Affects: 5.1.3
Reference URL: https://docs.spring.io/spring/docs/5.1.3.RELEASE/spring-framework-reference/core.html#beans-factory-extension-bpp