Class ReactiveExtensionAwareQueryMethodEvaluationContextProvider
java.lang.Object
org.springframework.data.repository.query.ExtensionAwareQueryMethodEvaluationContextProvider
org.springframework.data.repository.query.ReactiveExtensionAwareQueryMethodEvaluationContextProvider
- All Implemented Interfaces:
QueryMethodEvaluationContextProvider
,ReactiveQueryMethodEvaluationContextProvider
@Deprecated(since="3.4")
public class ReactiveExtensionAwareQueryMethodEvaluationContextProvider
extends ExtensionAwareQueryMethodEvaluationContextProvider
implements ReactiveQueryMethodEvaluationContextProvider
Deprecated.
An reactive
QueryMethodEvaluationContextProvider
that assembles an EvaluationContext
from a list of
EvaluationContextExtension
and ReactiveEvaluationContextExtension
.
instances.- Since:
- 2.4
- Author:
- Mark Paluch
-
Field Summary
Fields inherited from interface org.springframework.data.repository.query.QueryMethodEvaluationContextProvider
DEFAULT
Fields inherited from interface org.springframework.data.repository.query.ReactiveQueryMethodEvaluationContextProvider
DEFAULT
-
Constructor Summary
ConstructorDescriptionReactiveExtensionAwareQueryMethodEvaluationContextProvider
(List<? extends ExtensionIdAware> extensions) Deprecated.Create a newReactiveExtensionAwareQueryMethodEvaluationContextProvider
using the givenEvaluationContextExtension
s andReactiveEvaluationContextExtension
s.Deprecated.ReactiveExtensionAwareQueryMethodEvaluationContextProvider
(EvaluationContextProvider evaluationContextProvider) Deprecated.Creates a newReactiveExtensionAwareQueryMethodEvaluationContextProvider
. -
Method Summary
Modifier and TypeMethodDescription<T extends Parameters<?,
?>>
reactor.core.publisher.Mono<EvaluationContext>getEvaluationContextLater
(T parameters, Object[] parameterValues) Deprecated.Return aEvaluationContext
built using the givenParameters
and parameter values.<T extends Parameters<?,
?>>
reactor.core.publisher.Mono<EvaluationContext>getEvaluationContextLater
(T parameters, Object[] parameterValues, ExpressionDependencies dependencies) Deprecated.Return aEvaluationContext
built using the givenParameters
and parameter values.Methods inherited from class org.springframework.data.repository.query.ExtensionAwareQueryMethodEvaluationContextProvider
getDelegate, getEvaluationContext, getEvaluationContext, getEvaluationContextProvider
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.repository.query.QueryMethodEvaluationContextProvider
getEvaluationContext, getEvaluationContext, getEvaluationContextProvider
-
Constructor Details
-
ReactiveExtensionAwareQueryMethodEvaluationContextProvider
Deprecated.- Parameters:
beanFactory
- theListableBeanFactory
to lookup theEvaluationContextExtension
s from, must not be null.
-
ReactiveExtensionAwareQueryMethodEvaluationContextProvider
public ReactiveExtensionAwareQueryMethodEvaluationContextProvider(List<? extends ExtensionIdAware> extensions) Deprecated.Create a newReactiveExtensionAwareQueryMethodEvaluationContextProvider
using the givenEvaluationContextExtension
s andReactiveEvaluationContextExtension
s.- Parameters:
extensions
- must not be null.
-
ReactiveExtensionAwareQueryMethodEvaluationContextProvider
public ReactiveExtensionAwareQueryMethodEvaluationContextProvider(EvaluationContextProvider evaluationContextProvider) Deprecated.Creates a newReactiveExtensionAwareQueryMethodEvaluationContextProvider
.- Parameters:
evaluationContextProvider
- to lookup theEvaluationContextExtension
s from, must not be null.
-
-
Method Details
-
getEvaluationContextLater
public <T extends Parameters<?,?>> reactor.core.publisher.Mono<EvaluationContext> getEvaluationContextLater(T parameters, Object[] parameterValues) Deprecated.Description copied from interface:ReactiveQueryMethodEvaluationContextProvider
Return aEvaluationContext
built using the givenParameters
and parameter values.- Specified by:
getEvaluationContextLater
in interfaceReactiveQueryMethodEvaluationContextProvider
- Parameters:
parameters
- theParameters
instance obtained from the query method the context is built for.parameterValues
- the values for the parameters.- Returns:
- a mono that emits exactly one
EvaluationContext
.
-
getEvaluationContextLater
public <T extends Parameters<?,?>> reactor.core.publisher.Mono<EvaluationContext> getEvaluationContextLater(T parameters, Object[] parameterValues, ExpressionDependencies dependencies) Deprecated.Description copied from interface:ReactiveQueryMethodEvaluationContextProvider
Return aEvaluationContext
built using the givenParameters
and parameter values.- Specified by:
getEvaluationContextLater
in interfaceReactiveQueryMethodEvaluationContextProvider
- Parameters:
parameters
- theParameters
instance obtained from the query method the context is built for.parameterValues
- the values for the parameters.- Returns:
- a mono that emits exactly one
EvaluationContext
.
-
QueryMethodValueEvaluationContextAccessor
.