Class ArangoRepositoryFactory
java.lang.Object
org.springframework.data.repository.core.support.RepositoryFactorySupport
com.arangodb.springframework.repository.ArangoRepositoryFactory
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,EnvironmentAware
,EnvironmentCapable
- Author:
- Audrius Malele, Mark McCormick, Mark Vollmary, Christian Lechner
-
Constructor Summary
ConstructorsConstructorDescriptionArangoRepositoryFactory
(ArangoTemplate arangoTemplate, ApplicationContext applicationContext, ArangoConfiguration arangoConfiguration) -
Method Summary
Modifier and TypeMethodDescription<T,
ID> ArangoEntityInformation<T, ID> getEntityInformation
(Class<T> domainClass) protected Optional<QueryLookupStrategy>
getQueryLookupStrategy
(QueryLookupStrategy.Key key, QueryMethodEvaluationContextProvider evaluationContextProvider) protected Class<?>
getRepositoryBaseClass
(RepositoryMetadata metadata) protected RepositoryMetadata
getRepositoryMetadata
(Class<?> repositoryInterface) protected Object
getTargetRepository
(RepositoryInformation metadata) Methods inherited from class org.springframework.data.repository.core.support.RepositoryFactorySupport
addInvocationListener, addQueryCreationListener, addRepositoryProxyPostProcessor, getEnvironment, getProjectionFactory, getProjectionFactory, getQueryLookupStrategy, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryFragments, getRepositoryInformation, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, instantiateClass, setBeanClassLoader, setBeanFactory, setEnvironment, setEvaluationContextProvider, setEvaluationContextProvider, setExposeMetadata, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validate
-
Constructor Details
-
ArangoRepositoryFactory
public ArangoRepositoryFactory(ArangoTemplate arangoTemplate, ApplicationContext applicationContext, ArangoConfiguration arangoConfiguration)
-
-
Method Details
-
getEntityInformation
- Specified by:
getEntityInformation
in classRepositoryFactorySupport
-
getTargetRepository
- Specified by:
getTargetRepository
in classRepositoryFactorySupport
-
getRepositoryBaseClass
- Specified by:
getRepositoryBaseClass
in classRepositoryFactorySupport
-
getRepositoryMetadata
- Overrides:
getRepositoryMetadata
in classRepositoryFactorySupport
-
getQueryLookupStrategy
protected Optional<QueryLookupStrategy> getQueryLookupStrategy(@Nullable QueryLookupStrategy.Key key, QueryMethodEvaluationContextProvider evaluationContextProvider) - Overrides:
getQueryLookupStrategy
in classRepositoryFactorySupport
-