## 接口的使用
org.springframework.beans.factory.support.AutowireCandidateResolver

- 使用AutowireCandidateResolver的程序包
  程序包 | 说明
  --- | ---
  org.springframework.beans.factory.annotation | Support package for annotation-driven bean configuration.
  org.springframework.beans.factory.support | Classes supporting the `org.springframework.beans.factory` package.

- - ### org.springframework.beans.factory.annotation中AutowireCandidateResolver的使用

    实现AutowireCandidateResolver的org.springframework.beans.factory.annotation中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `QualifierAnnotationAutowireCandidateResolver` `AutowireCandidateResolver` implementation that matches bean definition qualifiers against `qualifier annotations` on the field or parameter to be autowired.

  - ### org.springframework.beans.factory.support中AutowireCandidateResolver的使用

    实现AutowireCandidateResolver的org.springframework.beans.factory.support中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `GenericTypeAwareAutowireCandidateResolver` Basic `AutowireCandidateResolver` that performs a full generic type match with the candidate's type if the dependency is declared as a generic type (e.g.
    `class` | `SimpleAutowireCandidateResolver` `AutowireCandidateResolver` implementation to use when no annotation support is available.

    返回AutowireCandidateResolver的org.springframework.beans.factory.support中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `AutowireCandidateResolver` | DefaultListableBeanFactory.`getAutowireCandidateResolver()` Return the autowire candidate resolver for this BeanFactory (never `null`).

    参数类型为AutowireCandidateResolver的org.springframework.beans.factory.support中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `protected boolean` | DefaultListableBeanFactory.`isAutowireCandidate(String beanName, DependencyDescriptor descriptor, AutowireCandidateResolver resolver)` Determine whether the specified bean definition qualifies as an autowire candidate, to be injected into other beans which declare a dependency of matching type.
    `protected boolean` | DefaultListableBeanFactory.`isAutowireCandidate(String beanName, RootBeanDefinition mbd, DependencyDescriptor descriptor, AutowireCandidateResolver resolver)` Determine whether the specified bean definition qualifies as an autowire candidate, to be injected into other beans which declare a dependency of matching type.
    `void` | DefaultListableBeanFactory.`setAutowireCandidateResolver(AutowireCandidateResolver autowireCandidateResolver)` Set a custom autowire candidate resolver for this BeanFactory to use when deciding whether a bean definition should be considered as a candidate for autowiring.