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

java.lang.Object
org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<R,T,K>
org.springframework.data.repository.core.support.TransactionalRepositoryFactoryBeanSupport<R,T,K>
org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean<R,T,K>
org.activiti.cloud.services.modeling.jpa.version.ExtendedJpaRepositoryFactoryBean<R,T,K,V>
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

    Modifier and Type
    Method
    Description
    protected org.springframework.data.repository.core.support.RepositoryFactorySupport
    createRepositoryFactory(jakarta.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

    Methods inherited from class java.lang.Object

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

    • ExtendedJpaRepositoryFactoryBean

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

    • createRepositoryFactory

      protected org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory(jakarta.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