摘要:
一、Spring @Resouce 和 @Autowired 对比? 两者都是用于bean的注入区别有:①@Autowired是spring提供的注解,而@Resouce是由J2EE提供的,在javax.annotation.Resource包 ②@Autowired默认按类型装配,如果要按照名称装 阅读全文
posted @ 2018-11-19 14:52 lhj1006400320 阅读(122) 评论(0) 推荐(0)
posted @ 2018-11-19 14:52 lhj1006400320 阅读(122) 评论(0) 推荐(0)