org.springframework.beans.factory.annotation

## 类 AnnotationBeanWiringInfoResolver

- java.lang.Object
- - org.springframework.beans.factory.annotation.AnnotationBeanWiringInfoResolver

- 所有已实现的接口:
    BeanWiringInfoResolver

      public class AnnotationBeanWiringInfoResolver
      extends Object
      implements BeanWiringInfoResolver

  `BeanWiringInfoResolver` that uses the Configurable annotation to identify which classes need autowiring. The bean name to look up will be taken from the `Configurable` annotation if specified; otherwise the default will be the fully-qualified name of the class being configured.
  从以下版本开始:
    2.0
  作者:
    Rod Johnson, Juergen Hoeller
  另请参阅:
    `Configurable`, `ClassNameBeanWiringInfoResolver`

- - ### 构造器概要

    构造器
    构造器和说明
    `AnnotationBeanWiringInfoResolver()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `protected BeanWiringInfo` | `buildWiringInfo(Object beanInstance, Configurable annotation)` Build the `BeanWiringInfo` for the given `Configurable` annotation.
    `protected String` | `getDefaultBeanName(Object beanInstance)` Determine the default bean name for the specified bean instance.
    `BeanWiringInfo` | `resolveWiringInfo(Object beanInstance)` Resolve the BeanWiringInfo for the given bean instance.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### AnnotationBeanWiringInfoResolver

          public AnnotationBeanWiringInfoResolver()

  - ### 方法详细资料

    - #### resolveWiringInfo

          @Nullable
          public BeanWiringInfo resolveWiringInfo(Object beanInstance)

      从接口复制的说明: `BeanWiringInfoResolver`
      Resolve the BeanWiringInfo for the given bean instance.
      指定者:
        `resolveWiringInfo` 在接口中 `BeanWiringInfoResolver`
      参数:
        `beanInstance` - the bean instance to resolve info for
      返回:
        the BeanWiringInfo, or `null` if not found

    - #### buildWiringInfo

          protected BeanWiringInfo buildWiringInfo(Object beanInstance,
                                                   Configurable annotation)

      Build the `BeanWiringInfo` for the given `Configurable` annotation.
      参数:
        `beanInstance` - the bean instance
        `annotation` - the Configurable annotation found on the bean class
      返回:
        the resolved BeanWiringInfo

    - #### getDefaultBeanName

          protected String getDefaultBeanName(Object beanInstance)

      Determine the default bean name for the specified bean instance.

      The default implementation returns the superclass name for a CGLIB proxy and the name of the plain bean class else.

      参数:
        `beanInstance` - the bean instance to build a default name for
      返回:
        the default bean name to use
      另请参阅:
        `ClassUtils.getUserClass(Class)`