Interface CdiRepositoryConfiguration
public interface CdiRepositoryConfiguration
Interface containing the configurable options for the Spring Data repository subsystem using CDI.
- Author:
- Mark Paluch, Fabian Henniges, Ariel Carrera
-
Method Summary
Modifier and TypeMethodDescriptionReturn theQueryMethodEvaluationContextProviderto use.default Optional<NamedQueries>Return theNamedQueriesto use.default List<QueryCreationListener<?>>Returns the list ofQueryCreationListenerto be used during repository proxy creation.default Optional<QueryLookupStrategy.Key>Return theQueryLookupStrategy.Keyto lookup queries.Return therepository base classto use.default StringReturns the configured postfix to be used for looking up custom implementation classes.default List<RepositoryProxyPostProcessor>Returns the list ofRepositoryProxyPostProcessorto be used during repository proxy creation.
-
Method Details
-
getEvaluationContextProvider
Return theQueryMethodEvaluationContextProviderto use. Can beOptional.empty().- Returns:
- the optional
QueryMethodEvaluationContextProviderbase to use, can beOptional.empty(), must not be null. - Since:
- 2.1
-
getNamedQueries
Return theNamedQueriesto use. Can beOptional.empty().- Returns:
- the optional named queries to use, can be
Optional.empty(), must not be null. - Since:
- 2.1
-
getQueryLookupStrategy
Return theQueryLookupStrategy.Keyto lookup queries. Can beOptional.empty().- Returns:
- the lookup strategy to use, can be
Optional.empty(), must not be null. - Since:
- 2.1
-
getRepositoryBeanClass
Return therepository base classto use. Can beOptional.empty().- Returns:
- the optional repository base to use, can be
Optional.empty(), must not be null. - Since:
- 2.1
-
getRepositoryImplementationPostfix
Returns the configured postfix to be used for looking up custom implementation classes.- Returns:
- the postfix to use, must not be null.
-
getRepositoryProxyPostProcessors
Returns the list ofRepositoryProxyPostProcessorto be used during repository proxy creation. Can beCollections.emptyList().- Returns:
- the list of repository proxy post processors to use, can be
Collections.emptyList(), must not be null. - Since:
- 2.2
-
getQueryCreationListeners
Returns the list ofQueryCreationListenerto be used during repository proxy creation. Can beCollections.emptyList().- Returns:
- the list query creation listeners to use, can be
Collections.emptyList(), must not be null. - Since:
- 2.2
-