• @Autowired @Inject @Resource

    @Autowired @Inject @Resource

    @Autowired and @Inject

    1. Matches by Type
    2. Restricts by Qualifiers
    3. Matches by Name
    4. AutowiredAnnotationBeanPostProcessor

    @Resource

    1. Matches by Name
    2. Matches by Type
    3. Restricts by Qualifiers
    4. CommonAnnotationBeanPostProcessor