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
| 从类 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–2022 cn.gtmap. All rights reserved.