Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Introduced TypeInformation abstraction to enable generic autowiring. #186

Closed
wants to merge 1 commit into from

2 participants

@olivergierke

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

@olivergierke

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

@olivergierke

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

@olivergierke olivergierke Introduced TypeInformation abstraction to enable generic autowiring.
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
6b3f5e7
@philwebb philwebb closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 22, 2013
  1. @olivergierke

    Introduced TypeInformation abstraction to enable generic autowiring.

    olivergierke authored olivergierke committed
    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
Something went wrong with that request. Please try again.