Class ApplicationContextQueryMethodEvaluationContextProvider
java.lang.Object
com.github.krr.mongodb.aggregate.support.query.ApplicationContextQueryMethodEvaluationContextProvider
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.data.repository.query.QueryMethodEvaluationContextProvider,org.springframework.data.repository.query.ReactiveQueryMethodEvaluationContextProvider
public class ApplicationContextQueryMethodEvaluationContextProvider
extends Object
implements org.springframework.data.repository.query.ReactiveQueryMethodEvaluationContextProvider, org.springframework.context.ApplicationContextAware
-
Field Summary
Fields inherited from interface org.springframework.data.repository.query.ReactiveQueryMethodEvaluationContextProvider
DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends org.springframework.data.repository.query.Parameters<?,?>>
org.springframework.expression.EvaluationContextgetEvaluationContext(T parameters, Object[] parameterValues) <T extends org.springframework.data.repository.query.Parameters<?,?>>
org.springframework.expression.EvaluationContextgetEvaluationContext(T parameters, Object[] parameterValues, org.springframework.data.spel.ExpressionDependencies dependencies) <T extends org.springframework.data.repository.query.Parameters<?,?>>
reactor.core.publisher.Mono<org.springframework.expression.EvaluationContext> getEvaluationContextLater(T parameters, Object[] parameterValues) <T extends org.springframework.data.repository.query.Parameters<?,?>>
reactor.core.publisher.Mono<org.springframework.expression.EvaluationContext> getEvaluationContextLater(T parameters, Object[] parameterValues, org.springframework.data.spel.ExpressionDependencies dependencies) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
ApplicationContextQueryMethodEvaluationContextProvider
public ApplicationContextQueryMethodEvaluationContextProvider()
-
-
Method Details
-
getEvaluationContext
public <T extends org.springframework.data.repository.query.Parameters<?,?>> org.springframework.expression.EvaluationContext getEvaluationContext(T parameters, Object[] parameterValues) - Specified by:
getEvaluationContextin interfaceorg.springframework.data.repository.query.QueryMethodEvaluationContextProvider
-
getEvaluationContext
public <T extends org.springframework.data.repository.query.Parameters<?,?>> org.springframework.expression.EvaluationContext getEvaluationContext(T parameters, Object[] parameterValues, org.springframework.data.spel.ExpressionDependencies dependencies) - Specified by:
getEvaluationContextin interfaceorg.springframework.data.repository.query.QueryMethodEvaluationContextProvider
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
getEvaluationContextLater
public <T extends org.springframework.data.repository.query.Parameters<?,?>> reactor.core.publisher.Mono<org.springframework.expression.EvaluationContext> getEvaluationContextLater(T parameters, Object[] parameterValues) - Specified by:
getEvaluationContextLaterin interfaceorg.springframework.data.repository.query.ReactiveQueryMethodEvaluationContextProvider
-
getEvaluationContextLater
public <T extends org.springframework.data.repository.query.Parameters<?,?>> reactor.core.publisher.Mono<org.springframework.expression.EvaluationContext> getEvaluationContextLater(T parameters, Object[] parameterValues, org.springframework.data.spel.ExpressionDependencies dependencies) - Specified by:
getEvaluationContextLaterin interfaceorg.springframework.data.repository.query.ReactiveQueryMethodEvaluationContextProvider
-