public class PooledDataSource extends AbstractPooledDataSource
| Constructor and Description |
|---|
PooledDataSource(ComponentPool<PooledConnection> componentPool) |
PooledDataSource(String key,
ComponentPool<PooledConnection> componentPool) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection() |
String |
getKey() |
void |
register() |
void |
shutdown() |
void |
startup() |
getConnection, getLoginTimeout, getLogWriter, getParentLogger, isWrapperFor, setLoginTimeout, setLogWriter, unwrappublic PooledDataSource(ComponentPool<PooledConnection> componentPool)
public PooledDataSource(String key, ComponentPool<PooledConnection> componentPool)
public void register()
public String getKey()
public Connection getConnection() throws SQLException
SQLExceptionpublic void startup()
throws ComponentPoolException
startup in class AbstractPooledDataSourceComponentPoolExceptionpublic void shutdown()
throws ComponentPoolException
shutdown in class AbstractPooledDataSourceComponentPoolExceptionCopyright © 2013. All Rights Reserved.