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
protected  org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory()
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 void setMappingContext(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
afterPropertiesSet, getEntityInformation, getObject, getObjectType, getQueryMethods, getRepositoryInformation, isSingleton, setCustomImplementation, 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

setMappingContext

public void setMappingContext(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>