类 CustomRepositoryFactoryBean<R extends org.springframework.data.jpa.repository.JpaRepository<T,​I>,​T,​I extends java.io.Serializable>

  • 所有已实现的接口:
    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,​I>

    public class CustomRepositoryFactoryBean<R extends org.springframework.data.jpa.repository.JpaRepository<T,​I>,​T,​I extends java.io.Serializable>
    extends org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean<R,​T,​I>
    • 字段概要

      • 从接口继承的字段 org.springframework.beans.factory.FactoryBean

        OBJECT_TYPE_ATTRIBUTE
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      protected org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory​(javax.persistence.EntityManager entityManager)  
      • 从类继承的方法 org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean

        afterPropertiesSet, doCreateRepositoryFactory, setEntityManager, setEntityPathResolver, setEscapeCharacter, setMappingContext, setQueryMethodFactory
      • 从类继承的方法 org.springframework.data.repository.core.support.TransactionalRepositoryFactoryBeanSupport

        createRepositoryFactory, setBeanFactory, setEnableDefaultTransactions, setTransactionManager
      • 从类继承的方法 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
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • CustomRepositoryFactoryBean

        public CustomRepositoryFactoryBean​(java.lang.Class<? extends R> repositoryInterface)
    • 方法详细资料

      • createRepositoryFactory

        protected org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory​(javax.persistence.EntityManager entityManager)
        覆盖:
        createRepositoryFactory 在类中 org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean<R extends org.springframework.data.jpa.repository.JpaRepository<T,​I>,​T,​I extends java.io.Serializable>