摘要: 使用注解来构造IoC容器 用注解来向Spring容器注册Bean。需要在applicationContext.xml中注册<context:component-scan base-package=”pagkage1[,pagkage2,…,pagkageN]”/> 如:在base-package指明 阅读全文
posted @ 2017-12-01 17:33 起床oO 阅读(11593) 评论(0) 推荐(1) 编辑