public class GemfireRepositoryFactoryBean<T extends Repository<S,ID>,S,ID extends Serializable> extends RepositoryFactoryBeanSupport<T,S,ID> implements ApplicationContextAware
FactoryBean adapter for GemfireRepositoryFactory.FactoryBean,
ApplicationContext,
ApplicationContextAware,
GemfireMappingContext,
GemfirePersistentEntity,
GemfirePersistentProperty,
MappingContext,
Repository,
RepositoryFactoryBeanSupport,
RepositoryFactorySupport,
Region| Constructor and Description |
|---|
GemfireRepositoryFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected RepositoryFactorySupport |
createRepositoryFactory()
Creates an instance of
RepositoryFactorySupport that interfaces with GemFire. |
protected MappingContext<? extends GemfirePersistentEntity<?>,GemfirePersistentProperty> |
getGemfireMappingContext()
Gets a reference to the
MappingContext used to perform domain object type to store mappings. |
void |
setApplicationContext(ApplicationContext applicationContext)
Sets a reference to the Spring
ApplicationContext in which this object runs. |
void |
setGemfireMappingContext(MappingContext<? extends GemfirePersistentEntity<?>,GemfirePersistentProperty> mappingContext)
Configures the
MappingContext used to perform domain object type to store mappings. |
getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setBeanClassLoader, setBeanFactory, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setMappingContext, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryInterfacepublic void setApplicationContext(ApplicationContext applicationContext) throws BeansException
ApplicationContext in which this object runs.setApplicationContext in interface ApplicationContextAwareapplicationContext - the Spring ApplicationContext reference.BeansExceptionApplicationContextAware.setApplicationContext(ApplicationContext),
ApplicationContextpublic void setGemfireMappingContext(MappingContext<? extends GemfirePersistentEntity<?>,GemfirePersistentProperty> mappingContext)
MappingContext used to perform domain object type to store mappings.mappingContext - the MappingContext to set.GemfireMappingContext,
MappingContextprotected MappingContext<? extends GemfirePersistentEntity<?>,GemfirePersistentProperty> getGemfireMappingContext()
MappingContext used to perform domain object type to store mappings.MappingContext.GemfireMappingContext,
MappingContext,
setGemfireMappingContext(MappingContext)protected RepositoryFactorySupport createRepositoryFactory()
RepositoryFactorySupport that interfaces with GemFire.createRepositoryFactory in class RepositoryFactoryBeanSupport<T extends Repository<S,ID>,S,ID extends Serializable>RepositoryFactoryBeanSupport.createRepositoryFactory(),
RepositoryFactorySupportpublic void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class RepositoryFactoryBeanSupport<T extends Repository<S,ID>,S,ID extends Serializable>Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.