クラス SpELContext
java.lang.ObjectSE
org.springframework.data.mapping.model.SpELContext
- 実装されているすべてのインターフェース:
EvaluationContextProvider
SpelExpressionParser および EvaluationContext インスタンスを作成する単純なファクトリ。- 作成者:
- Oliver Gierke
フィールドのサマリー
インターフェース org.springframework.data.spel.EvaluationContextProvider から継承されたフィールド
DEFAULTコンストラクターの概要
コンストラクターコンストラクター説明SpELContext(SpELContext source, BeanFactory factory) コンストラクターをコピーして、指定されたPropertyAccessorとSpelExpressionParser、および指定されたBeanFactoryを使用してSpELContextを作成します。SpELContext(PropertyAccessor accessor) 指定されたPropertyAccessorで新しいSpELContextを作成します。SpELContext(SpelExpressionParser parser, PropertyAccessor accessor) メソッドのサマリー
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.data.spel.EvaluationContextProvider から継承されたメソッド
getEvaluationContext
コンストラクターの詳細
SpELContext
- パラメーター:
accessor-
SpELContext
指定されたSpelExpressionParserおよびPropertyAccessorを使用して新しいSpELContextを作成します。指定された値が null の場合、デフォルトでSpelExpressionParserになります。- パラメーター:
parser-accessor-
SpELContext
コンストラクターをコピーして、指定されたPropertyAccessorとSpelExpressionParser、および指定されたBeanFactoryを使用してSpELContextを作成します。- パラメーター:
source-factory-
メソッドの詳細
getParser
getEvaluationContext
インターフェースからコピーされた説明:EvaluationContextProvider指定されたパラメーター値を使用して作成されたEvaluationContextを返します。- 次で指定:
- インターフェース
EvaluationContextProviderのgetEvaluationContext - パラメーター:
source-EvaluationContextに設定するルートオブジェクト。- 戻り値: