Class DinoJdbcRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,ID>,S,ID extends Serializable>

java.lang.Object
org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T,S,ID>
org.springframework.data.repository.core.support.TransactionalRepositoryFactoryBeanSupport<T,S,ID>
org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean<T,S,ID>
cn.dinodev.spring.data.jdbc.DinoJdbcRepositoryFactoryBean<T,S,ID>
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean<T>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.EnvironmentAware, org.springframework.data.repository.core.support.RepositoryFactoryInformation<S,ID>

public final class DinoJdbcRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,ID>,S,ID extends Serializable> extends org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean<T,S,ID>
Author:
Cody Lu
  • Field Summary

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

    OBJECT_TYPE_ATTRIBUTE
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T extends org.springframework.data.repository.Repository<S, ID>, S, ID extends Serializable>
    DinoJdbcRepositoryFactoryBean<T,S,ID>
    create(Class<? extends T> repositoryInterface, org.springframework.beans.factory.BeanFactory beanFactory)
    创建DinoJdbcRepositoryFactoryBean实例并配置Repository工厂定制器

    Methods inherited from class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean

    afterPropertiesSet, doCreateRepositoryFactory, setApplicationEventPublisher, setBeanFactory, setConverter, setDataAccessStrategy, setDialect, setJdbcOperations, setMappingContext, setQueryMappingConfiguration

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

    createRepositoryFactory, setEnableDefaultTransactions, setTransactionManager

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

    addRepositoryFactoryCustomizer, createDefaultEvaluationContextProvider, createDefaultQueryMethodEvaluationContextProvider, getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setBeanClassLoader, setCustomImplementation, setEnvironment, setEvaluationContextProvider, setEvaluationContextProvider, setExposeMetadata, 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

    • create

      public static <T extends org.springframework.data.repository.Repository<S, ID>, S, ID extends Serializable> DinoJdbcRepositoryFactoryBean<T,S,ID> create(Class<? extends T> repositoryInterface, org.springframework.beans.factory.BeanFactory beanFactory)
      创建DinoJdbcRepositoryFactoryBean实例并配置Repository工厂定制器
      Type Parameters:
      T - Repository类型
      S - 实体类型
      ID - ID类型
      Parameters:
      repositoryInterface - Repository接口类
      beanFactory - Bean工厂
      Returns:
      配置好的DinoJdbcRepositoryFactoryBean实例