cn.gtmap.estateplat.core.support.spring
类 DataSourceProxy

java.lang.Object
  继承者 org.springframework.jdbc.datasource.DelegatingDataSource
      继承者 org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy
          继承者 cn.gtmap.estateplat.core.support.spring.DataSourceProxy
所有已实现的接口:
Wrapper, CommonDataSource, DataSource, org.springframework.beans.factory.FactoryBean<DataSource>, org.springframework.beans.factory.InitializingBean

public class DataSourceProxy
extends org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy
implements org.springframework.beans.factory.FactoryBean<DataSource>

.

版本:
V1.0, 14-7-2
作者:
yangxin

构造方法摘要
DataSourceProxy()
           
 
方法摘要
 void afterPropertiesSet()
           
 DataSource getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 void setTestConnect(boolean testConnect)
           
 
从类 org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy 继承的方法
checkDefaultConnectionProperties, defaultAutoCommit, defaultTransactionIsolation, getConnection, getConnection, setDefaultAutoCommit, setDefaultTransactionIsolation, setDefaultTransactionIsolationName
 
从类 org.springframework.jdbc.datasource.DelegatingDataSource 继承的方法
getLoginTimeout, getLogWriter, getParentLogger, getTargetDataSource, isWrapperFor, setLoginTimeout, setLogWriter, setTargetDataSource, unwrap
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

DataSourceProxy

public DataSourceProxy()
方法详细信息

setTestConnect

public void setTestConnect(boolean testConnect)

getObject

public DataSource getObject()
                     throws Exception
指定者:
接口 org.springframework.beans.factory.FactoryBean<DataSource> 中的 getObject
抛出:
Exception

getObjectType

public Class<?> getObjectType()
指定者:
接口 org.springframework.beans.factory.FactoryBean<DataSource> 中的 getObjectType

isSingleton

public boolean isSingleton()
指定者:
接口 org.springframework.beans.factory.FactoryBean<DataSource> 中的 isSingleton

afterPropertiesSet

public void afterPropertiesSet()
指定者:
接口 org.springframework.beans.factory.InitializingBean 中的 afterPropertiesSet
覆盖:
org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy 中的 afterPropertiesSet


Copyright © 2015–2021 cn.gtmap. All rights reserved.