点击这里成为作者 · 更新于 2017-11-22 20:00:55

@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