好像现在没这个实现,但是感觉如下方案可以实现?
@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