org.garret.consusx
Class ConsusConnectionPoolDataSource
java.lang.Object
org.garret.consusx.ConsusDataSource
org.garret.consusx.ConsusConnectionPoolDataSource
- All Implemented Interfaces:
- javax.sql.ConnectionPoolDataSource, javax.sql.DataSource, javax.naming.Referenceable, java.io.Serializable
- Direct Known Subclasses:
- ConsusXADataSource
- public class ConsusConnectionPoolDataSource
- extends ConsusDataSource
- implements javax.sql.ConnectionPoolDataSource
- See Also:
- Serialized Form
Methods inherited from class org.garret.consusx.ConsusDataSource |
getConnection, getDatabaseName, getDataSourceName, getDescription, getLoginTimeout, getLogWriter, getNetworkProtocol, getPassword, getPortNumber, getReference, getRoleName, getServerName, getUser, setDatabaseName, setDataSourceName, setDescription, setLoginTimeout, setLogWriter, setNetworkProtocol, setPassword, setPortNumber, setrRoleName, setServerName, setUser |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.sql.ConnectionPoolDataSource |
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
ConsusConnectionPoolDataSource
public ConsusConnectionPoolDataSource()
getConnection
public java.sql.Connection getConnection(java.lang.String username,
java.lang.String password)
throws java.sql.SQLException
- Specified by:
getConnection
in interface javax.sql.DataSource
- Overrides:
getConnection
in class ConsusDataSource
- Throws:
java.sql.SQLException
getPooledConnection
public javax.sql.PooledConnection getPooledConnection()
throws java.sql.SQLException
- Specified by:
getPooledConnection
in interface javax.sql.ConnectionPoolDataSource
- Throws:
java.sql.SQLException
getPooledConnection
public javax.sql.PooledConnection getPooledConnection(java.lang.String username,
java.lang.String password)
throws java.sql.SQLException
- Specified by:
getPooledConnection
in interface javax.sql.ConnectionPoolDataSource
- Throws:
java.sql.SQLException