public abstract class AbstractDataSource extends ObjectSE implements DataSourceSE
DataSourceSE 実装の抽象基本クラス。 このクラスのコンテキストでの「パディング」とは、getLoginTimeout()、setLoginTimeout(int) など、DataSource インターフェースの特定のメソッドのデフォルト実装を意味します。
DriverManagerDataSource| コンストラクターと説明 |
|---|
AbstractDataSource() |
| 修飾子と型 | メソッドと説明 |
|---|---|
int | getLoginTimeout() デフォルトのシステムタイムアウトが使用されることを示す 0 を返します。 |
PrintWriterSE | getLogWriter()LogWriter メソッドはサポートされていません。 |
LoggerSE | getParentLogger() |
boolean | isWrapperFor(ClassSE<?> iface) |
void | setLoginTimeout(int timeout) ログインタイムアウトの設定はサポートされていません。 |
void | setLogWriter(PrintWriterSE pw)LogWriter メソッドはサポートされていません。 |
<T> T | unwrap(ClassSE<T> iface) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEgetConnectionSE, getConnectionSEprotected final Log logger
public int getLoginTimeout()
throws SQLExceptionSECommonDataSourceSE の getLoginTimeoutSE SQLExceptionSEpublic void setLoginTimeout(int timeout)
throws SQLExceptionSECommonDataSourceSE の setLoginTimeoutSE SQLExceptionSEpublic PrintWriterSE getLogWriter()
CommonDataSourceSE の getLogWriterSE public void setLogWriter(PrintWriterSE pw) throws SQLExceptionSE
CommonDataSourceSE の setLogWriterSE SQLExceptionSEpublic <T> T unwrap(ClassSE<T> iface) throws SQLExceptionSE
WrapperSE の unwrapSE SQLExceptionSEpublic boolean isWrapperFor(ClassSE<?> iface) throws SQLExceptionSE
WrapperSE の isWrapperForSE SQLExceptionSEpublic LoggerSE getParentLogger()
CommonDataSourceSE の getParentLoggerSE