インターフェースの使用
org.springframework.data.spel.EvaluationContextProvider
EvaluationContextProvider を使用するパッケージ
パッケージ
説明
マッピングサブシステムのモデルのコア実装。
リポジトリの CDI サポートを実装する基本クラス。
さまざまなデータストアのリポジトリを実装するための基本クラス。
クエリメソッドで動作するクラスをサポートします。
SpEL サポート。
org.springframework.data.mapping.model 内の EvaluationContextProvider 使用
型 EvaluationContextProvider のパラメーターを持つ org.springframework.data.mapping.model のメソッド修飾子と型メソッド説明voidBasicPersistentEntity.setEvaluationContextProvider(EvaluationContextProvider provider) voidMutablePersistentEntity.setEvaluationContextProvider(EvaluationContextProvider provider) エンティティが使用するEvaluationContextProviderを設定します。型 EvaluationContextProvider のパラメーターを持つ org.springframework.data.mapping.model のコンストラクター修飾子コンストラクター説明CachingValueExpressionEvaluatorFactory(ExpressionParser expressionParser, EnvironmentCapable environmentProvider, EvaluationContextProvider evaluationContextProvider) 指定されたExpressionParser、Environment provider、EvaluationContextProviderに対して、キャッシュサイズが 256 の新しいCachingValueExpressionEvaluatorFactoryを作成します。CachingValueExpressionEvaluatorFactory(ExpressionParser expressionParser, EnvironmentCapable environmentProvider, EvaluationContextProvider evaluationContextProvider, int cacheSize) 指定されたExpressionParser、Environment provider、EvaluationContextProviderに対して、特定のcacheSizeを使用して新しいCachingValueExpressionEvaluatorFactoryを作成します。org.springframework.data.repository.cdi 内の EvaluationContextProvider 使用
型 EvaluationContextProvider の引数を持つ型を返す org.springframework.data.repository.cdi のメソッド修飾子と型メソッド説明default OptionalSE<EvaluationContextProvider> CdiRepositoryConfiguration.getEvaluationContextProvider()使用するEvaluationContextProviderを返します。org.springframework.data.repository.core.support 内の EvaluationContextProvider 使用
修飾子と型メソッド説明protected @Nullable EvaluationContextProviderRepositoryFactoryBeanSupport.createDefaultEvaluationContextProvider(ListableBeanFactory beanFactory) ListableBeanFactoryからデフォルトのEvaluationContextProvider(またはサブクラス)を作成します。型 EvaluationContextProvider のパラメーターを持つ org.springframework.data.repository.core.support のメソッド修飾子と型メソッド説明voidRepositoryFactoryBeanSupport.setEvaluationContextProvider(EvaluationContextProvider evaluationContextProvider) 手動で定義されたクエリで SpEL 式を評価するために使用されるEvaluationContextProviderを設定します。voidRepositoryFactorySupport.setEvaluationContextProvider(@Nullable EvaluationContextProvider evaluationContextProvider) 手動で定義されたクエリで SpEL 式を評価するために使用されるEvaluationContextProviderを設定します。org.springframework.data.repository.query 内の EvaluationContextProvider 使用
EvaluationContextProvider として宣言されている org.springframework.data.repository.query のフィールド修飾子と型フィールド説明static final EvaluationContextProviderQueryMethodValueEvaluationContextAccessor.DEFAULT_CONTEXT_PROVIDER修飾子と型メソッド説明static EvaluationContextProviderQueryMethodValueEvaluationContextAccessor.createEvaluationContextProvider(ListableBeanFactory factory) 型 EvaluationContextProvider のパラメーターを持つ org.springframework.data.repository.query のコンストラクター修飾子コンストラクター説明QueryMethodValueEvaluationContextAccessor(Environment environment, EvaluationContextProvider evaluationContextProvider) org.springframework.data.spel 内の EvaluationContextProvider 使用
org.springframework.data.spel 内の EvaluationContextProvider サブインターフェースEvaluationContextProvider を実装している org.springframework.data.spel のクラス修飾子と型クラス説明classclassReactiveEvaluationContextExtensionおよびEvaluationContextExtensionインスタンスのリストからEvaluationContextをアセンブルするリアクティブEvaluationContextProvider。EvaluationContextProvider として宣言されている org.springframework.data.spel のフィールド修飾子と型フィールド説明static final EvaluationContextProviderEvaluationContextProvider.DEFAULT指定されたルートオブジェクトでStandardEvaluationContextを返す単純なデフォルトEvaluationContextProvider。