当前位置:   article > 正文

@DubboReference 之 interfaceName 和 interfaceClass_@dubboreference interfaceclass

@dubboreference interfaceclass
  1. //不推荐interfaceName(易写错)
  2. @DubboReference(group = "sys-cnf",
  3. interfaceName = "sysUserService",
  4. version = "0.0.1")
  5. private CnfSysUserService sysUserService;
  6. //更推荐interfaceClass(简单,不易错)
  7. @DubboReference(group = "sys-cnf",
  8. interfaceClass = CnfSysUserService.class,
  9. version = "0.0.1")
  10. private CnfSysUserService sysUserService;

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/不正经/article/detail/165798
推荐阅读
  

闽ICP备14008679号