クラス SpelPropertyAccessorRegistrar

java.lang.ObjectSE
org.springframework.integration.expression.SpelPropertyAccessorRegistrar

public class SpelPropertyAccessorRegistrar extends ObjectSE
初期化時に "integrationEvaluationContext" に登録するために SpEL PropertyAccessor のセットを追跡するユーティリティクラス。コンテキストをリフレッシュする前にアクセサーを追加する必要があります。
導入:
3.0
作成者:
Artem Bilan, Gary Russell
  • コンストラクターの詳細

    • SpelPropertyAccessorRegistrar

      public SpelPropertyAccessorRegistrar()
    • SpelPropertyAccessorRegistrar

      public SpelPropertyAccessorRegistrar(PropertyAccessor... propertyAccessors)
      提供された PropertyAccessor インスタンスを使用してインスタンスを作成します。各アクセサー名はクラスの単純名になります。
      パラメーター:
      propertyAccessors - アクセサー。
      導入:
      4.3.8
    • SpelPropertyAccessorRegistrar

      public SpelPropertyAccessorRegistrar(MapSE<StringSE,PropertyAccessor> propertyAccessors)
      指定された名前の PropertyAccessor インスタンスを使用してインスタンスを作成します。
      パラメーター:
      propertyAccessors - name:accessor のマップ。
      導入:
      4.3.8
  • メソッドの詳細

    • getPropertyAccessors

      public MapSE<StringSE,PropertyAccessor> getPropertyAccessors()
      ターゲット EvaluationContext で使用する登録済みの PropertyAccessor インスタンスを返します。
      戻り値:
      name:accessor のマップ。
      導入:
      4.3.8
    • setIndexAccessors

      public void setIndexAccessors(MapSE<StringSE,IndexAccessor> indexAccessors)
      ターゲット EvaluationContext で使用する IndexAccessor インスタンスのマップを追加します。
      パラメーター:
      indexAccessors - name:accessor のマップ。
      導入:
      6.4
    • getIndexAccessors

      public MapSE<StringSE,IndexAccessor> getIndexAccessors()
      登録された IndexAccessor インスタンスを返します。
      戻り値:
      name:accessor のマップ。
      導入:
      6.4
    • add

      public SpelPropertyAccessorRegistrar add(StringSE name, PropertyAccessor propertyAccessor)
      提供された名前付きプロパティアクセサーを追加します。
      パラメーター:
      name - 名前。
      propertyAccessor - アクセサー。
      戻り値:
      このレジストラ。
      導入:
      4.3.8
    • add

      public SpelPropertyAccessorRegistrar add(PropertyAccessor... propertyAccessors)
      提供されたプロパティアクセサーを追加します。各アクセサー名は、クラスの単純な名前になります。
      パラメーター:
      propertyAccessors - アクセサー。
      戻り値:
      このレジストラ。
      導入:
      4.3.8
    • add

      public SpelPropertyAccessorRegistrar add(StringSE name, IndexAccessor indexAccessor)
      提供された名前 IndexAccessor を追加します。
      パラメーター:
      name - 名前。
      indexAccessor - アクセサー。
      戻り値:
      このレジストラ。
      導入:
      6.4
    • add

      public SpelPropertyAccessorRegistrar add(IndexAccessor... indexAccessors)
      提供された IndexAccessor インスタンスを追加します。各アクセサー名はクラスの単純名になります。
      パラメーター:
      indexAccessors - アクセサー。
      戻り値:
      このレジストラ。
      導入:
      6.4