类 TenantRoutingDataSource

java.lang.Object
org.springframework.jdbc.datasource.AbstractDataSource
org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource
plus.hiver.common.config.tenant.TenantRoutingDataSource
所有已实现的接口:
Wrapper, CommonDataSource, DataSource, org.springframework.beans.factory.InitializingBean

public class TenantRoutingDataSource extends org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource

尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负

作者:
Yazhi Li
  • 字段概要

    从类继承的字段 org.springframework.jdbc.datasource.AbstractDataSource

    logger
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected Object
     

    从类继承的方法 org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource

    afterPropertiesSet, createConnectionBuilder, createShardingKeyBuilder, determineTargetDataSource, getConnection, getConnection, getResolvedDataSources, getResolvedDefaultDataSource, initialize, isWrapperFor, resolveSpecifiedDataSource, resolveSpecifiedLookupKey, setDataSourceLookup, setDefaultTargetDataSource, setLenientFallback, setTargetDataSources, unwrap

    从类继承的方法 org.springframework.jdbc.datasource.AbstractDataSource

    getLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriter

    从类继承的方法 java.lang.Object

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

    • TenantRoutingDataSource

      public TenantRoutingDataSource()
  • 方法详细资料

    • determineCurrentLookupKey

      protected Object determineCurrentLookupKey()
      指定者:
      determineCurrentLookupKey 在类中 org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource