public abstract class AbstractDataSource extends ObjectSE implements DataSourceSE
DataSource
SE 実装の抽象基本クラス。 このクラスのコンテキストでの「パディング」とは、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, waitSE
getConnectionSE, getConnectionSE
protected final Log logger
public int getLoginTimeout() throws SQLExceptionSE
CommonDataSourceSE
の getLoginTimeoutSE
SQLExceptionSE
public void setLoginTimeout(int timeout) throws SQLExceptionSE
CommonDataSourceSE
の setLoginTimeoutSE
SQLExceptionSE
public PrintWriterSE getLogWriter()
CommonDataSourceSE
の getLogWriterSE
public void setLogWriter(PrintWriterSE pw) throws SQLExceptionSE
CommonDataSourceSE
の setLogWriterSE
SQLExceptionSE
public <T> T unwrap(ClassSE<T> iface) throws SQLExceptionSE
WrapperSE
の unwrapSE
SQLExceptionSE
public boolean isWrapperFor(ClassSE<?> iface) throws SQLExceptionSE
WrapperSE
の isWrapperForSE
SQLExceptionSE
public LoggerSE getParentLogger()
CommonDataSourceSE
の getParentLoggerSE