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

Add SPI to customize the qualifiers to use for a particular bean [SPR-14725] #19290

Closed
spring-projects-issues opened this issue Sep 16, 2016 · 2 comments
Assignees
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Sep 16, 2016

Stéphane Nicoll opened SPR-14725 and commented

The container is currently looking at very specific places to figure out the qualifiers of a particular bean dependency:

  • The bean factory method, if any (i.e. the @Bean method)
  • The target class (annotations at class level)
  • Additional checks on the bean definition itself (we should check if those are properly documented)

Certain bean definitions are created on the fly and do not have a "bean factory method". Yet, it would be very interesting to specify a places where qualifier information is to be found.

See also spring-projects/spring-boot#6753


Affects: 4.3.2

Referenced from: commits 2b2cc2d, 0dce570, 2b0bf9f

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Sep 16, 2016

Stéphane Nicoll commented

Juergen Hoeller could you please review 2b0bf9f04 and backport it to 4.3.x?

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Sep 16, 2016

Juergen Hoeller commented

Reviewed and backported :-)

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

Successfully merging a pull request may close this issue.

None yet
2 participants