org.springframework.beans.factory.annotation

## 类 InjectionMetadata

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

-     public class InjectionMetadata
      extends Object

  Internal class for managing injection metadata. Not intended for direct use in applications.

  Used by `AutowiredAnnotationBeanPostProcessor`, `org.springframework.context.annotation.CommonAnnotationBeanPostProcessor` and `org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor`.

  从以下版本开始:
    2.5
  作者:
    Juergen Hoeller

- - ### 嵌套类概要

    嵌套类
    限定符和类型 | 类和说明
    --- | ---
    `static class` | `InjectionMetadata.InjectedElement` A single injected element.

  - ### 构造器概要

    构造器
    构造器和说明
    `InjectionMetadata(Class<?> targetClass, Collection<InjectionMetadata.InjectedElement> elements)`

  - ### 方法概要

    所有方法 静态方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `checkConfigMembers(RootBeanDefinition beanDefinition)`
    `void` | `clear(PropertyValues pvs)` Clear property skipping for the contained elements.
    `void` | `inject(Object target, String beanName, PropertyValues pvs)`
    `static boolean` | `needsRefresh(InjectionMetadata metadata, Class<?> clazz)`

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

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

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

    - #### InjectionMetadata

          public InjectionMetadata(Class<?> targetClass,
                                   Collection<InjectionMetadata.InjectedElement> elements)

  - ### 方法详细资料

    - #### checkConfigMembers

          public void checkConfigMembers(RootBeanDefinition beanDefinition)

    - #### inject

          public void inject(Object target,
                             @Nullable
                             String beanName,
                             @Nullable
                             PropertyValues pvs)
                      throws Throwable

      抛出:
        `Throwable`

    - #### clear

          public void clear(@Nullable
                            PropertyValues pvs)

      Clear property skipping for the contained elements.
      从以下版本开始:
        3.2.13

    - #### needsRefresh

          public static boolean needsRefresh(@Nullable
                                             InjectionMetadata metadata,
                                             Class<?> clazz)