public class GemfireRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,ID>,S,ID extends Serializable> extends org.springframework.data.repository.core.support.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 org.springframework.data.repository.core.support.RepositoryFactorySupport |
createRepositoryFactory()
Creates an instance of
RepositoryFactorySupport that interfaces with GemFire. |
protected org.springframework.data.mapping.context.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(org.springframework.data.mapping.context.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, 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(org.springframework.data.mapping.context.MappingContext<? extends GemfirePersistentEntity<?>,GemfirePersistentProperty> mappingContext)
MappingContext used to perform domain object type to store mappings.mappingContext - the MappingContext to set.GemfireMappingContext,
MappingContextprotected org.springframework.data.mapping.context.MappingContext<? extends GemfirePersistentEntity<?>,GemfirePersistentProperty> getGemfireMappingContext()
MappingContext used to perform domain object type to store mappings.MappingContext.GemfireMappingContext,
MappingContext,
setGemfireMappingContext(MappingContext)protected org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory()
RepositoryFactorySupport that interfaces with GemFire.createRepositoryFactory in class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T extends org.springframework.data.repository.Repository<S,ID>,S,ID extends Serializable>RepositoryFactoryBeanSupport.createRepositoryFactory(),
RepositoryFactorySupportpublic void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T extends org.springframework.data.repository.Repository<S,ID>,S,ID extends Serializable>