2017年4月24日

使用Spring的JavaConfig 和 @Autowired注解与自动装配

摘要: 1 JavaConfig 配置方法 之前我们都是在xml文件中定义bean的,比如: 1 2 3 4 5 6 7 8 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/200 阅读全文

posted @ 2017-04-24 20:19 王守昌 阅读(1068) 评论(0) 推荐(0) 编辑

导航