摘要: 在Spring框架下实现和调用接口时,不用再代码中创建接口对象。而是依赖容器注入接口的实现对象。 1.创建接口 package service; /** * Created by xumao on 2016/12/5. */ public interface MyService { public v 阅读全文
posted @ 2016-12-05 13:49 雨落~无痕 阅读(508) 评论(0) 推荐(0) 编辑