Skip to content

[Feature] @Reference auto-wires the instance of #4594

@mercyblitz

Description

@mercyblitz

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

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

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

GenericService also can be auto-wired by @Reference

The correlative issue : apache/dubbo-spring-boot-project#552

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions