public class ContextualPooledDataSource extends AbstractPooledDataSource
| Constructor and Description |
|---|
ContextualPooledDataSource(ContextualPoolNameTranslator poolNameTranslator,
ComponentPool<PooledConnection>... componentPools) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection() |
void |
shutdown() |
void |
startup() |
getConnection, getLoginTimeout, getLogWriter, getParentLogger, isWrapperFor, setLoginTimeout, setLogWriter, unwrappublic ContextualPooledDataSource(ContextualPoolNameTranslator poolNameTranslator, ComponentPool<PooledConnection>... componentPools) throws ComponentPoolException
ComponentPoolExceptionpublic 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.