public class GemfireRepositoryFactory extends RepositoryFactorySupport
RepositoryFactorySupport implementation creating repository proxies
for Gemfire.RepositoryFactorySupport.QueryExecutorMethodInterceptor| Constructor and Description |
|---|
GemfireRepositoryFactory(Iterable<com.gemstone.gemfire.cache.Region<?,?>> regions,
MappingContext<? extends GemfirePersistentEntity<?>,GemfirePersistentProperty> mappingContext)
Creates a new
GemfireRepositoryFactory. |
| Modifier and Type | Method and Description |
|---|---|
<T,ID extends Serializable> |
getEntityInformation(Class<T> domainClass) |
protected QueryLookupStrategy |
getQueryLookupStrategy(QueryLookupStrategy.Key key,
EvaluationContextProvider evaluationContextProvider) |
protected Class<?> |
getRepositoryBaseClass(RepositoryMetadata metadata) |
protected Object |
getTargetRepository(RepositoryInformation repositoryInformation) |
addQueryCreationListener, addRepositoryProxyPostProcessor, getQueryLookupStrategy, getQueryMethods, getRepository, getRepository, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, setBeanClassLoader, setBeanFactory, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validatepublic GemfireRepositoryFactory(Iterable<com.gemstone.gemfire.cache.Region<?,?>> regions, 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 extends Serializable> GemfireEntityInformation<T,ID> getEntityInformation(Class<T> domainClass)
getEntityInformation in class RepositoryFactorySupportprotected Object getTargetRepository(RepositoryInformation repositoryInformation)
getTargetRepository in class RepositoryFactorySupportprotected Class<?> getRepositoryBaseClass(RepositoryMetadata metadata)
getRepositoryBaseClass in class RepositoryFactorySupportprotected QueryLookupStrategy getQueryLookupStrategy(QueryLookupStrategy.Key key, EvaluationContextProvider evaluationContextProvider)
getQueryLookupStrategy in class RepositoryFactorySupportCopyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.