You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow programmatic registration of bean definitions with a ResolvableType [SPR-14580] #19149
As discussed on this Spring Boot issue (spring-projects/spring-boot#6602) it would be useful if we could programmatically register a RootBeanDefinition that including a ResolvableType.
Currently generics are only considered when a bean is defined against a factory method.
Activity
spring-projects-issues commentedon Aug 13, 2016
Phil Webb commented
PR #1133
spring-projects-issues commentedon Aug 17, 2016
Juergen Hoeller commented
I've implemented this a bit differently, repurposing
setTargetTypeand simply providing an overloaded version which accepts aResolvableTypenow.