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