Closed
Description
Matt Benson opened SPR-14118 and commented
My branch includes:
testcases and (possibly naive) implementation as a starting point to discuss the shortcomings of ListableBeanFactory#getBeanNamesForType(ResolvableType) with regard to
@Bean
methods and ResolvableType arguments that represent parameterized types
Affects: 4.2.5
Reference URL: https://github.com/mbenson/spring-framework/tree/beanMethodsOfType
Issue Links:
- getBeanNamesForType(ResolvableType) doesn't match generic factory method return type for yet-to-be-created bean [SPR-15011] #19578 getBeanNamesForType(ResolvableType) doesn't match generic factory method return type for yet-to-be-created bean ("duplicates")
- getBeanNamesForType(ResolvableType) does not reliably work for beans with AOP proxies [SPR-14097] #18669 getBeanNamesForType(ResolvableType) does not reliably work for beans with AOP proxies
1 votes, 3 watchers