クラス SpelPropertyAccessorRegistrar
java.lang.ObjectSE
org.springframework.integration.expression.SpelPropertyAccessorRegistrar
初期化時に "integrationEvaluationContext" に登録するために SpEL
PropertyAccessor のセットを追跡するユーティリティクラス。コンテキストをリフレッシュする前にアクセサーを追加する必要があります。- 導入:
- 3.0
- 作成者:
- Artem Bilan, Gary Russell
コンストラクター概要
コンストラクターコンストラクター説明SpelPropertyAccessorRegistrar(MapSE<StringSE, PropertyAccessor> propertyAccessors) 指定された名前のPropertyAccessorインスタンスを使用してインスタンスを作成します。SpelPropertyAccessorRegistrar(PropertyAccessor... propertyAccessors) 提供されたPropertyAccessorインスタンスを使用してインスタンスを作成します。方法の概要
修飾子と型メソッド説明add(StringSE name, IndexAccessor indexAccessor) 提供された名前IndexAccessorを追加します。add(StringSE name, PropertyAccessor propertyAccessor) 提供された名前付きプロパティアクセサーを追加します。add(IndexAccessor... indexAccessors) 提供されたIndexAccessorインスタンスを追加します。add(PropertyAccessor... propertyAccessors) 提供されたプロパティアクセサーを追加します。登録されたIndexAccessorインスタンスを返します。ターゲットEvaluationContextで使用する登録済みのPropertyAccessorインスタンスを返します。voidsetIndexAccessors(MapSE<StringSE, IndexAccessor> indexAccessors) ターゲットEvaluationContextで使用するIndexAccessorインスタンスのマップを追加します。
コンストラクターの詳細
SpelPropertyAccessorRegistrar
public SpelPropertyAccessorRegistrar()SpelPropertyAccessorRegistrar
提供されたPropertyAccessorインスタンスを使用してインスタンスを作成します。各アクセサー名はクラスの単純名になります。- パラメーター:
propertyAccessors- アクセサー。- 導入:
- 4.3.8
SpelPropertyAccessorRegistrar
指定された名前のPropertyAccessorインスタンスを使用してインスタンスを作成します。- パラメーター:
propertyAccessors- name:accessor のマップ。- 導入:
- 4.3.8
メソッドの詳細
getPropertyAccessors
ターゲットEvaluationContextで使用する登録済みのPropertyAccessorインスタンスを返します。- 戻り値:
- name:accessor のマップ。
- 導入:
- 4.3.8
setIndexAccessors
ターゲットEvaluationContextで使用するIndexAccessorインスタンスのマップを追加します。- パラメーター:
indexAccessors- name:accessor のマップ。- 導入:
- 6.4
getIndexAccessors
登録されたIndexAccessorインスタンスを返します。- 戻り値:
- name:accessor のマップ。
- 導入:
- 6.4
add
提供された名前付きプロパティアクセサーを追加します。- パラメーター:
name- 名前。propertyAccessor- アクセサー。- 戻り値:
- このレジストラ。
- 導入:
- 4.3.8
add
提供されたプロパティアクセサーを追加します。各アクセサー名は、クラスの単純な名前になります。- パラメーター:
propertyAccessors- アクセサー。- 戻り値:
- このレジストラ。
- 導入:
- 4.3.8
add
提供された名前IndexAccessorを追加します。- パラメーター:
name- 名前。indexAccessor- アクセサー。- 戻り値:
- このレジストラ。
- 導入:
- 6.4
add
提供されたIndexAccessorインスタンスを追加します。各アクセサー名はクラスの単純名になります。- パラメーター:
indexAccessors- アクセサー。- 戻り値:
- このレジストラ。
- 導入:
- 6.4