springboot动态获取接口的实现类

          在springboot 的项目中,若是一个接口有多个实现类,咱们须要动态获取,直接上代码;   @RestController public class PersonController { @Resource(name="${active}") private HelloService helloService; @RequestMapping("
相关文章
相关标签/搜索