Class CoherenceRepositoryFactory
java.lang.Object
org.springframework.data.repository.core.support.RepositoryFactorySupport
com.oracle.coherence.spring.data.support.CoherenceRepositoryFactory
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
public class CoherenceRepositoryFactory
extends org.springframework.data.repository.core.support.RepositoryFactorySupport
Coherence implementation of
RepositoryFactorySupport
.- Since:
- 3.0
- Author:
- Ryan Lubke
-
Constructor Summary
ConstructorDescriptionCoherenceRepositoryFactory
(com.tangosol.net.Coherence coherence, CoherenceMappingContext mappingContext, String sessionName, String mapName) Creates a newCoherenceRepositoryFactory
. -
Method Summary
Modifier and TypeMethodDescription<T,
ID> org.springframework.data.repository.core.EntityInformation<T, ID> getEntityInformation
(Class<T> domainClass) protected Optional<org.springframework.data.repository.query.QueryLookupStrategy>
getQueryLookupStrategy
(org.springframework.data.repository.query.QueryLookupStrategy.Key key, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider) protected Class<?>
getRepositoryBaseClass
(org.springframework.data.repository.core.RepositoryMetadata metadata) protected Object
getTargetRepository
(org.springframework.data.repository.core.RepositoryInformation metadata) Methods inherited from class org.springframework.data.repository.core.support.RepositoryFactorySupport
addInvocationListener, addQueryCreationListener, addRepositoryProxyPostProcessor, getProjectionFactory, getProjectionFactory, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryFragments, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, instantiateClass, setBeanClassLoader, setBeanFactory, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validate
-
Constructor Details
-
CoherenceRepositoryFactory
public CoherenceRepositoryFactory(com.tangosol.net.Coherence coherence, CoherenceMappingContext mappingContext, String sessionName, String mapName) Creates a newCoherenceRepositoryFactory
.- Parameters:
coherence
- theCoherence
instancemappingContext
- theMappingContext
sessionName
- theSession
namemapName
- theNamedMap
name
-
-
Method Details
-
getEntityInformation
public <T,ID> org.springframework.data.repository.core.EntityInformation<T,ID> getEntityInformation(Class<T> domainClass) - Specified by:
getEntityInformation
in classorg.springframework.data.repository.core.support.RepositoryFactorySupport
-
getTargetRepository
protected Object getTargetRepository(org.springframework.data.repository.core.RepositoryInformation metadata) - Specified by:
getTargetRepository
in classorg.springframework.data.repository.core.support.RepositoryFactorySupport
-
getRepositoryBaseClass
protected Class<?> getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata) - Specified by:
getRepositoryBaseClass
in classorg.springframework.data.repository.core.support.RepositoryFactorySupport
-
getQueryLookupStrategy
protected Optional<org.springframework.data.repository.query.QueryLookupStrategy> getQueryLookupStrategy(@Nullable org.springframework.data.repository.query.QueryLookupStrategy.Key key, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider) - Overrides:
getQueryLookupStrategy
in classorg.springframework.data.repository.core.support.RepositoryFactorySupport
-