会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zhangchaowu
博客园
首页
新随笔
联系
订阅
管理
2017年12月1日
spring中<context:annotation-config>和<context:component-scan>标签的区别
摘要: 一、<context:annotation-config>的作用:用于开启spring中的注解,就是激活那些已经在spring容器中注册过的Bean的注解。 在没有使用<context:annotation-config>之前: 当我们需要使用BeanPostProcessor时,我们会在Sprin
阅读全文
posted @ 2017-12-01 16:20 zhangchaowu
阅读(198)
评论(0)
推荐(0)
公告