会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
jungleland
博客园
首页
新随笔
联系
管理
订阅
2016年10月8日
Spring组件扫描<context:component-scan/>使用详解(转)
摘要: 1.如果不想在xml文件中配置bean,我们可以给我们的类加上spring组件注解,只需再配置下spring的扫描器就可以实现bean的自动载入。 <!-- 注解注入 --> <context:annotation-config></context:annotation-config> <conte
阅读全文
posted @ 2016-10-08 23:37 jungleland
阅读(129)
评论(0)
推荐(0)
公告