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

Introduced TypeInformation abstraction to enable generic autowiring. #186

Closed
wants to merge 1 commit into from

Conversation

odrotbohm
Copy link
Member

Introduced closed TypeInformation API from Spring Data Commons to enable carrying type
information including generics through code and resolving injection points based on generic
type references. Introduced method overloads in BeanFactory implementations using
TypeInformation instead of Class to make sure we keep generics information of the injection
point around.

Upgraded to Hamcrest 1.3 and introduced Mockito dependency in 1.8.5.

Issue: SPR-9965

@odrotbohm
Copy link
Member Author

The main test case for the newly introduced functionality is in GenericTypeWiringTests. All other test cases are unit test for lower level components like the newly introduced TypeInformation API. /cc @cbeams @jhoeller @philwebb

@odrotbohm
Copy link
Member Author

I've just rebased the code onto current master and got the test cases working again. /cc @philwebb @jhoeller

Introduced closed TypeInformation API from Spring Data Commons to enable carrying type information including generics through code and resolving injection points based on generic type references. Introduced method overloads in BeanFactory implementations using TypeInformation instead of Class<?> to make sure we keep generics information of the injection point around.

Issue: SPR-9965
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants