Class ReactiveRepositoryFactorySupport
java.lang.Object
org.springframework.data.repository.core.support.RepositoryFactorySupport
org.springframework.data.repository.core.support.ReactiveRepositoryFactorySupport
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
Base class for repository factories to use reactive support. Centralizes the validation of the classpath setup in
case a repository uses reactive types.
- Since:
- 2.0
- Author:
- Mark Paluch, Oliver Gierke, Johannes Englmeier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setEvaluationContextProvider
(QueryMethodEvaluationContextProvider evaluationContextProvider) Sets theQueryMethodEvaluationContextProvider
to be used to evaluate SpEL expressions in manually defined queries.protected void
validate
(RepositoryMetadata repositoryMetadata) Methods inherited from class org.springframework.data.repository.core.support.RepositoryFactorySupport
addInvocationListener, addQueryCreationListener, addRepositoryProxyPostProcessor, getEntityInformation, getProjectionFactory, getProjectionFactory, getQueryLookupStrategy, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryBaseClass, getRepositoryFragments, getRepositoryInformation, getRepositoryMetadata, getTargetRepository, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, instantiateClass, setBeanClassLoader, setBeanFactory, setExposeMetadata, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass
-
Constructor Details
-
ReactiveRepositoryFactorySupport
public ReactiveRepositoryFactorySupport()
-
-
Method Details
-
validate
- Overrides:
validate
in classRepositoryFactorySupport
-
setEvaluationContextProvider
public void setEvaluationContextProvider(QueryMethodEvaluationContextProvider evaluationContextProvider) Sets theQueryMethodEvaluationContextProvider
to be used to evaluate SpEL expressions in manually defined queries.- Overrides:
setEvaluationContextProvider
in classRepositoryFactorySupport
- Parameters:
evaluationContextProvider
- can be null, defaults toReactiveQueryMethodEvaluationContextProvider.DEFAULT
.
-