クラス InjectionMetadata.InjectedElement

java.lang.ObjectSE
org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
既知の直属サブクラス
CommonAnnotationBeanPostProcessor.LookupElement
含まれているクラス:
InjectionMetadata

public abstract static class InjectionMetadata.InjectedElement extends ObjectSE
単一の注入された要素。
導入:
2.5
作成者:
Juergen Hoeller
  • フィールドの詳細

  • コンストラクターの詳細

  • メソッドの詳細

    • getMember

      public final MemberSE getMember()
    • getResourceType

      protected final ClassSE<?> getResourceType()
    • checkResourceType

      protected final void checkResourceType(ClassSE<?> resourceType)
    • shouldInject

      protected boolean shouldInject(@Nullable PropertyValues pvs)
      プロパティ値を注入する必要があるかどうか。
      パラメーター:
      pvs - 確認するプロパティ値
      戻り値:
      プロパティ値を注入する必要があるかどうか
      導入:
      6.0.10
    • inject

      protected void inject(ObjectSE target, @Nullable StringSE requestingBeanName, @Nullable PropertyValues pvs) throws ThrowableSE
      これまたは getResourceToInject(Object, String) のいずれかをオーバーライドする必要があります。
      例外:
      ThrowableSE
    • checkPropertySkipping

      protected boolean checkPropertySkipping(@Nullable PropertyValues pvs)
      明示的なプロパティ値が指定されているため、このインジェクタのプロパティをスキップする必要があるかどうかを確認します。また、影響を受けるプロパティを他のプロセッサー用に処理済みとしてマークし、無視します。
    • clearPropertySkipping

      protected void clearPropertySkipping(@Nullable PropertyValues pvs)
      この要素のプロパティスキップをクリアします。
      導入:
      3.2.13
    • getResourceToInject

      protected @Nullable ObjectSE getResourceToInject(ObjectSE target, @Nullable StringSE requestingBeanName)
      これまたは inject(Object, String, PropertyValues) のいずれかをオーバーライドする必要があります。
    • equals

      public boolean equals(@Nullable ObjectSE other)
      オーバーライド:
      クラス ObjectSEequalsSE 
    • hashCode

      public int hashCode()
      オーバーライド:
      クラス ObjectSEhashCode 
    • toString

      public StringSE toString()
      オーバーライド:
      クラス ObjectSEtoString