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

@Configuration constructor behaviour documentation differs between Reference Documentation and API docs [SPR-14552] #19120

spring-projects-issues opened this issue Aug 1, 2016 · 1 comment


Copy link

@spring-projects-issues spring-projects-issues commented Aug 1, 2016

Michael Vitz opened SPR-14552 and commented

The reference documentation at states that "Constructor injection in @Configuration classes is only supported as of Spring Framework 4.3.". However if looking in the javadoc API for @Configuration at the following is said: "@Configuration classes must have a default/no-arg constructor and may not use @Autowired constructor parameters. Any nested configuration classes must be static." I think the javadoc needs to be fixed here.

Affects: 4.3.2

Referenced from: commits 8aadb8d, 4854989

Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Aug 2, 2016

Stéphane Nicoll commented

Good catch, thanks!

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