Via 由 [ ] 提供

@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