Interface QueryMethodEvaluationContextProvider
- All Known Subinterfaces:
ReactiveQueryMethodEvaluationContextProvider
- All Known Implementing Classes:
ExtensionAwareQueryMethodEvaluationContextProvider
,ReactiveExtensionAwareQueryMethodEvaluationContextProvider
Deprecated.
Provides a way to access a centrally defined potentially shared
EvaluationContext
.- Since:
- 1.9
- Author:
- Thomas Darimont, Oliver Gierke, Christoph Strobl
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends Parameters<?,
?>>
EvaluationContextgetEvaluationContext
(T parameters, Object[] parameterValues) Deprecated.Returns anEvaluationContext
built using the givenParameters
and parameter values.<T extends Parameters<?,
?>>
EvaluationContextgetEvaluationContext
(T parameters, Object[] parameterValues, ExpressionDependencies dependencies) Deprecated.Returns anEvaluationContext
built using the givenParameters
and parameter values.Deprecated.
-
Field Details
-
DEFAULT
Deprecated.
-
-
Method Details
-
getEvaluationContext
<T extends Parameters<?,?>> EvaluationContext getEvaluationContext(T parameters, Object[] parameterValues) Deprecated.Returns anEvaluationContext
built using the givenParameters
and parameter values.- Parameters:
parameters
- theParameters
instance obtained from the query method the context is built for.parameterValues
- the values for the parameters.- Returns:
-
getEvaluationContext
<T extends Parameters<?,?>> EvaluationContext getEvaluationContext(T parameters, Object[] parameterValues, ExpressionDependencies dependencies) Deprecated.Returns anEvaluationContext
built using the givenParameters
and parameter values.- Parameters:
parameters
- theParameters
instance obtained from the query method the context is built for.parameterValues
- the values for the parameters.- Returns:
-
getEvaluationContextProvider
EvaluationContextProvider getEvaluationContextProvider()Deprecated.- Returns:
- the underlying
EvaluationContextProvider
.
-
QueryMethodValueEvaluationContextAccessor
.