摘要: 三种依赖注入方式,即构造方法注入(constructor injection),setter方法注入(setter injection)以及接口注入(interface injection). 构造方法注入(constructor injection) 构造方法注入,就是被注入对象可以通过在其构造方 阅读全文
posted @ 2016-06-29 21:48 wojiaohuangyu 阅读(62) 评论(0) 推荐(0)