public class GemfireRepositoryFactory
extends org.springframework.data.repository.core.support.RepositoryFactorySupport
RepositoryFactorySupport
implementation creating repository proxies
for Gemfire.org.springframework.data.repository.core.support.RepositoryFactorySupport.ImplementationMethodExecutionInterceptor, org.springframework.data.repository.core.support.RepositoryFactorySupport.QueryExecutorMethodInterceptor
Constructor and Description |
---|
GemfireRepositoryFactory(Iterable<org.apache.geode.cache.Region<?,?>> regions,
org.springframework.data.mapping.context.MappingContext<? extends GemfirePersistentEntity<?>,GemfirePersistentProperty> mappingContext)
Creates a new
GemfireRepositoryFactory . |
Modifier and Type | Method and Description |
---|---|
<T,ID> GemfireEntityInformation<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.EvaluationContextProvider evaluationContextProvider) |
protected Class<?> |
getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata) |
protected Object |
getTargetRepository(org.springframework.data.repository.core.RepositoryInformation repositoryInformation) |
addQueryCreationListener, addRepositoryProxyPostProcessor, getProjectionFactory, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryFragments, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, setBeanClassLoader, setBeanFactory, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validate
public GemfireRepositoryFactory(Iterable<org.apache.geode.cache.Region<?,?>> regions, org.springframework.data.mapping.context.MappingContext<? extends GemfirePersistentEntity<?>,GemfirePersistentProperty> mappingContext)
GemfireRepositoryFactory
.regions
- must not be null.mappingContext
- the MappingContext
used by the constructed Repository for mapping entities
to the underlying data store, must not be null.public <T,ID> GemfireEntityInformation<T,ID> getEntityInformation(Class<T> domainClass)
getEntityInformation
in class org.springframework.data.repository.core.support.RepositoryFactorySupport
protected Object getTargetRepository(org.springframework.data.repository.core.RepositoryInformation repositoryInformation)
getTargetRepository
in class org.springframework.data.repository.core.support.RepositoryFactorySupport
protected Class<?> getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata)
getRepositoryBaseClass
in class org.springframework.data.repository.core.support.RepositoryFactorySupport
protected Optional<org.springframework.data.repository.query.QueryLookupStrategy> getQueryLookupStrategy(org.springframework.data.repository.query.QueryLookupStrategy.Key key, org.springframework.data.repository.query.EvaluationContextProvider evaluationContextProvider)
getQueryLookupStrategy
in class org.springframework.data.repository.core.support.RepositoryFactorySupport
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.