集册 Java 面试笔记 @Autowired @Inject @Resource

@Autowired @Inject @Resource

欢马劈雪     最近更新时间:2020-08-04 05:37:59

420

@Autowired and @Inject

Matches by Type
Restricts by Qualifiers
Matches by Name

AutowiredAnnotationBeanPostProcessor

@Resource

Matches by Name
Matches by Type
Restricts by Qualifiers

CommonAnnotationBeanPostProcessor