会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
雨落~无痕
博客园
首页
新随笔
联系
订阅
管理
2016年12月5日
Spring-接口调用
摘要: 在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)
编辑
公告