Closed
Description
Scott Battaglia opened SPR-5546 and commented
I've created my own PersonFactory class that implements ObjectFactory<Person> and its labeled with @Component
. I have a controller that has a property "private ObjectFactory<Person>" with autowired=true
There is only one ObjectFactory<Person>.
During bootstrap Spring can't seem to match the two up. It complains there is more than one ObjectFactory.
Affects: 3.0 M2
Issue Links:
- Autowiring of generic types [SPR-9965] #14599 Autowiring of generic types