Skip to content

did the @Reference can register an bean mapping in the spring context? #3733

@Comven

Description

@Comven

xml配置方式配置Reference会根据id生成一个对应的bean到spring上下文中,但是用注解后就失效了,以前通过名称从applicationContext中获取代理对象的方式就用不了了。能否参考https://gitee.com/reger/spring-boot-starter-dubbo这种增加一个@Inject注解或者优化@Reference注解能够注册到spring上下文中,以便以前老的项目能够方便切换到全注解方式使用

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions