You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "Comven (GitHub)" <gi...@apache.org> on 2019/03/26 05:34:38 UTC

[GitHub] [incubator-dubbo] Comven opened issue #3733: did the @Reference can register an bean mapping in the spring context?

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

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3733 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org