Class DatastoreRepositoryFactoryBean<S,I>

java.lang.Object
org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<DatastoreRepository<S,I>,S,I>
com.google.cloud.spring.data.datastore.repository.support.DatastoreRepositoryFactoryBean<S,I>
Type Parameters:
S - the type of the entities
I - the id type of the entities
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean<DatastoreRepository<S,I>>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationEventPublisherAware, org.springframework.data.repository.core.support.RepositoryFactoryInformation<S,I>

public class DatastoreRepositoryFactoryBean<S,I> extends org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<DatastoreRepository<S,I>,S,I> implements org.springframework.context.ApplicationContextAware
Factory bean for creating factories that create Datastore repositories.
Since:
1.1
  • Field Summary

    Fields inherited from interface org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.data.repository.core.support.RepositoryFactorySupport
     
    void
    setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
     
    void
     
    void
     

    Methods inherited from class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport

    addRepositoryFactoryCustomizer, afterPropertiesSet, createDefaultQueryMethodEvaluationContextProvider, getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setBeanFactory, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setMappingContext, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragments

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • setDatastoreTemplate

      public void setDatastoreTemplate(DatastoreTemplate datastoreTemplate)
    • setDatastoreMappingContext

      public void setDatastoreMappingContext(DatastoreMappingContext mappingContext)
    • createRepositoryFactory

      protected org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory()
      Specified by:
      createRepositoryFactory in class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<DatastoreRepository<S,I>,S,I>
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException