Class ExtendedJpaRepositoryFactoryBean<R extends org.springframework.data.jpa.repository.JpaRepository<T,​K>,​T,​K extends Serializable,​V extends VersionEntity>

  • Type Parameters:
    R - the repository type
    T - The entity type
    K - the entity id type
    V - the entity version type
    All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean<R>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationEventPublisherAware, org.springframework.data.repository.core.support.RepositoryFactoryInformation<T,​K>

    public class ExtendedJpaRepositoryFactoryBean<R extends org.springframework.data.jpa.repository.JpaRepository<T,​K>,​T,​K extends Serializable,​V extends VersionEntity>
    extends org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean<R,​T,​K>
    Bean factory for ExtendedJpaRepositoryFactory
    • Field Summary

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

        OBJECT_TYPE_ATTRIBUTE
    • Constructor Summary

      Constructors 
      Constructor Description
      ExtendedJpaRepositoryFactoryBean​(Class<? extends R> repositoryInterface)
      Creates a new JpaRepositoryFactoryBean for the given repository interface.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory​(javax.persistence.EntityManager entityManager)
      Create a ExtendedJpaRepositoryFactoryBean.ExtendedJpaRepositoryFactory instance with the given EntityManager
      • Methods inherited from class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean

        afterPropertiesSet, doCreateRepositoryFactory, setEntityManager, setEntityPathResolver, setEscapeCharacter, setMappingContext, setQueryMethodFactory
      • Methods inherited from class org.springframework.data.repository.core.support.TransactionalRepositoryFactoryBeanSupport

        createRepositoryFactory, setBeanFactory, setEnableDefaultTransactions, setTransactionManager
      • Methods inherited from class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport

        addRepositoryFactoryCustomizer, createDefaultQueryMethodEvaluationContextProvider, getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragments
    • Constructor Detail

      • ExtendedJpaRepositoryFactoryBean

        public ExtendedJpaRepositoryFactoryBean​(Class<? extends R> repositoryInterface)
        Creates a new JpaRepositoryFactoryBean for the given repository interface.
        Parameters:
        repositoryInterface - must not be null.
    • Method Detail

      • createRepositoryFactory

        protected org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory​(javax.persistence.EntityManager entityManager)
        Create a ExtendedJpaRepositoryFactoryBean.ExtendedJpaRepositoryFactory instance with the given EntityManager
        Overrides:
        createRepositoryFactory in class org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean<R extends org.springframework.data.jpa.repository.JpaRepository<T,​K>,​T,​K extends Serializable>
        Parameters:
        entityManager - the entity manager
        Returns:
        the repository factory