public class HandlingDataSourceWrapper extends Object implements DataSource
| コンストラクタと説明 |
|---|
HandlingDataSourceWrapper(DataSource dataSource,
DataSourceHandler dataSourceHandler) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Connection |
getConnection() |
Connection |
getConnection(String username,
String password) |
int |
getLoginTimeout() |
PrintWriter |
getLogWriter() |
Logger |
getParentLogger() |
boolean |
isWrapperFor(Class<?> iface) |
void |
setLoginTimeout(int seconds) |
void |
setLogWriter(PrintWriter out) |
String |
toString() |
<T> T |
unwrap(Class<T> iface) |
public HandlingDataSourceWrapper(DataSource dataSource, DataSourceHandler dataSourceHandler)
public Connection getConnection() throws SQLException
getConnection インタフェース内 DataSourceSQLExceptionpublic Connection getConnection(String username, String password) throws SQLException
getConnection インタフェース内 DataSourceSQLExceptionpublic PrintWriter getLogWriter() throws SQLException
getLogWriter インタフェース内 CommonDataSourceSQLExceptionpublic int getLoginTimeout()
throws SQLException
getLoginTimeout インタフェース内 CommonDataSourceSQLExceptionpublic void setLogWriter(PrintWriter out) throws SQLException
setLogWriter インタフェース内 CommonDataSourceSQLExceptionpublic void setLoginTimeout(int seconds)
throws SQLException
setLoginTimeout インタフェース内 CommonDataSourceSQLExceptionpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap インタフェース内 WrapperSQLExceptionpublic boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor インタフェース内 WrapperSQLExceptionpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger インタフェース内 CommonDataSourceSQLFeatureNotSupportedExceptionCopyright © 2014–2015 The DBFlute Project. All rights reserved.