org.javasimon.jdbcx
Class SimonConnectionPoolDataSource
java.lang.Object
org.javasimon.jdbcx.AbstractSimonDataSource
org.javasimon.jdbcx.SimonConnectionPoolDataSource
- All Implemented Interfaces:
- CommonDataSource, ConnectionPoolDataSource
public final class SimonConnectionPoolDataSource
- extends AbstractSimonDataSource
- implements ConnectionPoolDataSource
Wrapper class for real ConnectionPoolDataSource implementation, produces pooled
PooledConnection object.
See the SimonDataSource for more information.
- Since:
- 1.0
- Version:
- $Revision: 304 $ $Date: 2011-04-08 10:39:02 +0200 (Fri, 08 Apr 2011) $
- Author:
- Radovan Sninsky
| Methods inherited from class org.javasimon.jdbcx.AbstractSimonDataSource |
getLoginTimeout, getLogWriter, getPassword, getPrefix, getRealDataSourceClassName, getUrl, getUser, setLoginTimeout, setLogWriter, setPassword, setPrefix, setRealDataSourceClassName, setUrl, setUser |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ds
private ConnectionPoolDataSource ds
SimonConnectionPoolDataSource
public SimonConnectionPoolDataSource()
datasource
private ConnectionPoolDataSource datasource()
throws SQLException
- Throws:
SQLException
getPooledConnection
public PooledConnection getPooledConnection()
throws SQLException
-
- Specified by:
getPooledConnection in interface ConnectionPoolDataSource
- Throws:
SQLException
getPooledConnection
public PooledConnection getPooledConnection(String user,
String password)
throws SQLException
-
- Specified by:
getPooledConnection in interface ConnectionPoolDataSource
- Throws:
SQLException
Copyright © 2011. All Rights Reserved.