org.springframework.data.gemfire.repository.support
Class GemfireRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,ID>,S,ID extends Serializable>

java.lang.Object
  extended by org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T,S,ID>
      extended by org.springframework.data.gemfire.repository.support.GemfireRepositoryFactoryBean<T,S,ID>
All Implemented Interfaces:
Aware, FactoryBean<T>, InitializingBean, ApplicationContextAware, org.springframework.data.repository.core.support.RepositoryFactoryInformation<S,ID>

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.


Constructor Summary
GemfireRepositoryFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory()
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 void setGemfireMappingContext(org.springframework.data.mapping.context.MappingContext<? extends GemfirePersistentEntity<?>,GemfirePersistentProperty> context)
          Configures the MappingContext to be used.
 
Methods inherited from class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport
getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setCustomImplementation, setMappingContext, setNamedQueries, setQueryLookupStrategyKey, setRepositoryInterface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GemfireRepositoryFactoryBean

public GemfireRepositoryFactoryBean()
Method Detail

setApplicationContext

public void setApplicationContext(ApplicationContext applicationContext)
                           throws BeansException
Specified by:
setApplicationContext in interface ApplicationContextAware
Throws:
BeansException

setGemfireMappingContext

public void setGemfireMappingContext(org.springframework.data.mapping.context.MappingContext<? extends GemfirePersistentEntity<?>,GemfirePersistentProperty> context)
Configures the MappingContext to be used.

Parameters:
context - the context to set

createRepositoryFactory

protected org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory()
Specified by:
createRepositoryFactory in class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T extends org.springframework.data.repository.Repository<S,ID>,S,ID extends Serializable>

afterPropertiesSet

public void afterPropertiesSet()
Specified by:
afterPropertiesSet in interface InitializingBean
Overrides:
afterPropertiesSet in class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T extends org.springframework.data.repository.Repository<S,ID>,S,ID extends Serializable>