public class ManualThreadDataSourceHandler extends Object implements DataSourceHandler
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected NotClosingConnectionWrapper |
_connectionWrapper |
| コンストラクタと説明 |
|---|
ManualThreadDataSourceHandler() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
close() |
static void |
closeDataSourceHandler()
Close data source handler on thread.
|
Connection |
getConnection(DataSource actualDs)
Get the connection instance on thread.
|
static ManualThreadDataSourceHandler |
getDataSourceHandler()
Get the handler of data source.
|
static void |
prepareDataSourceHandler()
Prepare data source handler on thread.
|
protected NotClosingConnectionWrapper _connectionWrapper
public static ManualThreadDataSourceHandler getDataSourceHandler()
public static void prepareDataSourceHandler()
public static void closeDataSourceHandler()
public Connection getConnection(DataSource actualDs) throws SQLException
getConnection インタフェース内 DataSourceHandleractualDs - The actual data source. (NotNull)SQLException - When it fails to get connection.public void close()
throws SQLException
SQLExceptionCopyright © 2014–2015 The DBFlute Project. All rights reserved.