Spring为什么@Autowired注入的是接口
摘要:
1.Spring怎么知道注入哪个实现? As long as there is only a single implementation of the interface and that implementation is annotated with @Component with Spring 阅读全文
posted @ 2019-10-30 10:40 四海骄阳 阅读(5896) 评论(0) 推荐(0) 编辑