摘要:
1.创建UserDao接口以及UserDaoImpl实现类(接口代码省略) public class UserDaoImpl imp... 阅读全文
posted @ 2020-11-12 21:35
凸凸大军的一员
阅读(107)
评论(0)
推荐(0)
摘要:
set注入:set注入地址 通过构造方法进行注入 1.创建UserDao接口以及UserDaoImpl实现类(接口代码省略) pu... 阅读全文
posted @ 2020-11-12 21:14
凸凸大军的一员
阅读(69)
评论(0)
推荐(0)
摘要:
上一篇博客讲述了为什么使用spring依赖注入,怎么注入,详见 spring-bean依赖注入-01(等你来点击) 废话不多说,开... 阅读全文
posted @ 2020-11-12 20:44
凸凸大军的一员
阅读(151)
评论(0)
推荐(0)
摘要:
###我们先通过一个例子弄明白为什么要使用依赖注入### 1.创建业务层UserService接口及UserServiceImpl实... 阅读全文
posted @ 2020-11-12 20:30
凸凸大军的一员
阅读(115)
评论(0)
推荐(0)

浙公网安备 33010602011771号