Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

springboot 泛化调用的时候能不能也用@Reference引用一个远程的服务? #552

Closed
CodingSinger opened this issue Jul 17, 2019 · 3 comments

Comments

@CodingSinger
Copy link
Member

如题。
好像现在没这个实现,但是感觉如下方案可以实现?

@Reference(interfaceName="com.xxx.xxx.DemoService",generic="true")
GenericService genericService;

解析的时候如果指定了是泛化,则设置interfacename为注解中interfaceName的值,如果没指定泛化为true,则走原来的步骤。

@CodingSinger
Copy link
Member Author

@mercyblitz

@mercyblitz
Copy link
Contributor

Good idea, it should be a Dubbo feature, see apache/dubbo#4594

@CodingSinger
Copy link
Member Author

can i commit a pr to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants