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

[GitHub] [incubator-dubbo] yuxiao97 commented on issue #3749: Why or @Reference cannot exist as a Spring Bean to avoid @Autowired errors in the IDEA?

> Because of `@Reference` supports the customized behavior for Dubbo Service, for example:
> 
> ```java
> @Reference
> private UserService userService;
> 
> @Reference(protocol="dubbo")
> private UserService userService;
> ```
> 
> If the above two fields will be enhanced as the Spring Beans, the problem is how to identify them.

OK, I know you means, if as the Spring Bean, Spring can not found and initialize them.

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