Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InstantiationAwareBeanPostProcessor method postProcessAfterInstantiation doc issue [SPR-15732] #20288

spring-projects-issues opened this issue Jul 4, 2017 · 0 comments


Copy link

@spring-projects-issues spring-projects-issues commented Jul 4, 2017

lichao opened SPR-15732 and commented

The documentation of InstantiationAwareBeanPostProcessor method postProcessAfterInstantiation specifies:

"This is the ideal callback for performing field injection on the given bean instance.See Spring's own {@link org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor} for a typical example."

However, field injection of AutowiredAnnotationBeanPostProcessor actully works in method postProcessPropertyValues, and the implementation of method postProcessAfterInstantiation in parent abstract class InstantiationAwareBeanPostProcessorAdapter just returns null.

so i think this doc maybe outdated.

No further details from SPR-15732

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants