点击这里成为作者 · 更新于 2017-09-27 06:00:24

@Autowired @Inject @Resource

@Autowired and @Inject

Matches by Type
Restricts by Qualifiers
Matches by Name

AutowiredAnnotationBeanPostProcessor

@Resource

Matches by Name
Matches by Type
Restricts by Qualifiers

CommonAnnotationBeanPostProcessor
上一篇: Introduction? 下一篇: Hibernate