Skip to content

Introduced TypeInformation abstraction to enable generic autowiring. - #186

Closed
odrotbohm wants to merge 1 commit into
spring-projects:masterfrom
odrotbohm:SPR-9965
Closed

odrotbohm wants to merge 1 commit into
spring-projects:masterfrom
odrotbohm:SPR-9965

Conversation

@odrotbohm

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

2 participants