public abstract class AbstractDataSource extends Object implements DataSource, Cloneable, Closeable
| 构造器和说明 |
|---|
AbstractDataSource() |
| 限定符和类型 | 方法和说明 |
|---|---|
AbstractDataSource |
clone() |
int |
getLoginTimeout() |
PrintWriter |
getLogWriter() |
Logger |
getParentLogger()
Support from JDK7
|
boolean |
isWrapperFor(Class<?> iface) |
void |
setLoginTimeout(int seconds) |
void |
setLogWriter(PrintWriter out) |
<T> T |
unwrap(Class<T> iface) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConnection, getConnectionpublic PrintWriter getLogWriter()
getLogWriter 在接口中 CommonDataSourcepublic void setLogWriter(PrintWriter out)
setLogWriter 在接口中 CommonDataSourcepublic void setLoginTimeout(int seconds)
setLoginTimeout 在接口中 CommonDataSourcepublic int getLoginTimeout()
getLoginTimeout 在接口中 CommonDataSourcepublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap 在接口中 WrapperSQLExceptionpublic boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor 在接口中 WrapperSQLExceptionpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger 在接口中 CommonDataSourceSQLFeatureNotSupportedExceptionpublic AbstractDataSource clone()
Copyright © 2023. All rights reserved.