Lovro Pandžić opened SPR-16349 and commented
From https://stackoverflow.com/questions/45741395/spring-generic-bean-factory, I'd like to be able to define a factory which automatically creates beans for all beans declared of a certain type. The important part is that the factory has generic type available upon request. If this is already possible, please provide an example in the documentation.
1 votes, 1 watchers
Comment From: snicoll
I can see that you accepted the answer on SO. For prototype beans, InjectionPoint
does give access to the member for which you can build the full generic signature using ResolvableType
.