类 DataSourceWrapper
java.lang.Object
cool.scx.dao.spy.wrapper.DataSourceWrapper
- 所有已实现的接口:
Wrapper,CommonDataSource,DataSource
-
构造器概要
构造器构造器说明DataSourceWrapper(DataSource dataSource) DataSourceWrapper(DataSource dataSource, SpyEventListener eventListener) -
方法概要
修饰符和类型方法说明getConnection(String username, String password) intbooleanisWrapperFor(Class<?> iface) voidsetLoginTimeout(int seconds) voidsetLogWriter(PrintWriter out) <T> T从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 java.sql.Wrapper
isWrapperFor, unwrap
-
构造器详细资料
-
DataSourceWrapper
-
DataSourceWrapper
-
-
方法详细资料
-
getConnection
- 指定者:
getConnection在接口中DataSource- 抛出:
SQLException
-
getConnection
- 指定者:
getConnection在接口中DataSource- 抛出:
SQLException
-
getLogWriter
- 指定者:
getLogWriter在接口中CommonDataSource- 指定者:
getLogWriter在接口中DataSource- 抛出:
SQLException
-
setLogWriter
- 指定者:
setLogWriter在接口中CommonDataSource- 指定者:
setLogWriter在接口中DataSource- 抛出:
SQLException
-
getLoginTimeout
- 指定者:
getLoginTimeout在接口中CommonDataSource- 指定者:
getLoginTimeout在接口中DataSource- 抛出:
SQLException
-
setLoginTimeout
- 指定者:
setLoginTimeout在接口中CommonDataSource- 指定者:
setLoginTimeout在接口中DataSource- 抛出:
SQLException
-
createConnectionBuilder
- 指定者:
createConnectionBuilder在接口中DataSource- 抛出:
SQLException
-
getParentLogger
- 指定者:
getParentLogger在接口中CommonDataSource- 抛出:
SQLFeatureNotSupportedException
-
createShardingKeyBuilder
- 指定者:
createShardingKeyBuilder在接口中CommonDataSource- 抛出:
SQLException
-
unwrap
- 指定者:
unwrap在接口中Wrapper- 抛出:
SQLException
-
isWrapperFor
- 指定者:
isWrapperFor在接口中Wrapper- 抛出:
SQLException
-