Skip to content

Allow programmatic registration of bean definitions with a ResolvableType [SPR-14580] #19149

Closed

Description

@spring-projects-issues

Phil Webb opened SPR-14580 and commented

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.


Affects: 4.3.2

Issue Links:

Referenced from: commits 4b06b60, e6cefdc

Activity

  1. spring-projects-issues commented on Aug 13, 2016

    @spring-projects-issues
    CollaboratorAuthor

    Phil Webb commented

    PR #1133

  2. spring-projects-issues commented on Aug 17, 2016

    @spring-projects-issues
    CollaboratorAuthor

    Juergen Hoeller commented

    I've implemented this a bit differently, repurposing setTargetType and simply providing an overloaded version which accepts a ResolvableType now.

  3. added
    type: enhancement
    in: core
    on Jan 11, 2019
  4. added this to the 4.3.3 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: coretype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions