Interface ReactiveQueryMethodEvaluationContextProvider

All Superinterfaces:
QueryMethodEvaluationContextProvider
All Known Implementing Classes:
ReactiveExtensionAwareQueryMethodEvaluationContextProvider

public interface ReactiveQueryMethodEvaluationContextProvider extends QueryMethodEvaluationContextProvider
Provides a way to access a centrally defined potentially shared EvaluationContext by considering ReactiveEvaluationContextExtension.
Since:
2.4
Author:
Mark Paluch
  • Field Details

  • Method Details

    • getEvaluationContextLater

      <T extends Parameters<?, ?>> reactor.core.publisher.Mono<org.springframework.expression.EvaluationContext> getEvaluationContextLater(T parameters, Object[] parameterValues)
      Return a EvaluationContext built using the given Parameters and parameter values.
      Parameters:
      parameters - the Parameters 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

      <T extends Parameters<?, ?>> reactor.core.publisher.Mono<org.springframework.expression.EvaluationContext> getEvaluationContextLater(T parameters, Object[] parameterValues, ExpressionDependencies dependencies)
      Return a EvaluationContext built using the given Parameters and parameter values.
      Parameters:
      parameters - the Parameters 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.