Skip to content

Use non-reflective APIs to inject converters #14657

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

Closed
wants to merge 4 commits into from

Conversation

dsyer
Copy link
Member

@dsyer dsyer commented Oct 2, 2018

The @Qualifier APIs are a bit limited in Spring still, so we might
want to use this to pursue additional convenience methods before
merging. See SPR-8891.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 2, 2018
@dsyer dsyer force-pushed the converters branch 2 times, most recently from 80af744 to 8c89826 Compare October 2, 2018 10:31
@wilkinsona
Copy link
Member

I share your dislike of having to force the factory method to initialise itself. Hopefully you'll get some traction on SPR-8891.

@philwebb
Copy link
Member

philwebb commented Oct 2, 2018

Looks like SPR-8891 might be in 5.1.1. I think we should hold off until that's in.

@philwebb philwebb added type: task A general task status: blocked An issue that's blocked on an external project change and removed status: waiting-for-triage An issue we've not yet triaged labels Oct 2, 2018
@wilkinsona wilkinsona added this to the 2.1.x milestone Oct 10, 2018
@dsyer dsyer force-pushed the converters branch 4 times, most recently from b3d4af6 to 0df7131 Compare October 11, 2018 08:09
dsyer added 4 commits October 14, 2018 10:11
The @qualifier APIs are a bit limited in Spring still, so we might
want to use this to pursue additional convenience methods before
merging.
SPR-8891 is still in flux. It might settle down so we don't need
the hack, but for now this is needed to make the factory method
for converter beans available in time to select them by qualifier.
@dsyer
Copy link
Member Author

dsyer commented Oct 14, 2018

Those 4 commits can be squashed together. SPR-8891 is now resolved and this looks like it works,

@wilkinsona wilkinsona removed the status: blocked An issue that's blocked on an external project change label Oct 14, 2018
@wilkinsona wilkinsona self-assigned this Oct 14, 2018
wilkinsona added a commit that referenced this pull request Oct 14, 2018
* gh-14657:
  Polish "Use non-reflective APIs to retrieve config prop binding converters"
  Use non-reflective APIs to retrieve config prop binding converters
@wilkinsona wilkinsona modified the milestones: 2.1.x, 2.1.0.RC1 Oct 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants