Skip to content

Add FactoryBean.OBJECT_TYPE_ATTRIBUTE to registered beans #337

Closed
@philwebb

Description

@philwebb

See spring-projects/spring-boot#21379 for more background.

It would be helpful if FeignClientsRegistrar could add a FactoryBean.OBJECT_TYPE_ATTRIBUTE attribute to the registered bean definition. The value of the attribute should be the type of bean that the FeignClientFactoryBean will ultimately create.

With such an attribute in place, it will be possible for Spring Boot's @MockBean support to tell the type without needing to instantiate the factory bean.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions