摘要: 1.spring依赖注入的方式: (依赖注入:UserService依赖于OrderService 需要@Autowired注入 orderservice的实例) 手动注入: ①spring.xml中property方式 (本质:setter方法): ②spring.xml中constructor方 阅读全文
posted @ 2020-12-07 22:48 进丁520 阅读(57) 评论(0) 推荐(0)