WPI GDC CMS 0.0.1

org.wpi.gdc.cms.db.jdbc
Class ConnectionPool

java.lang.Object
  |
  +--org.wpi.gdc.cms.db.jdbc.ConnectionPool

public class ConnectionPool
extends java.lang.Object

Manages a pool of database connections.

Version:
1.6
Author:
dmpotter

Constructor Summary
ConnectionPool(java.sql.Driver dbDriver, java.lang.String dbUrl, java.util.Properties dbProps)
           
 
Method Summary
 void destroyConnection(java.sql.Connection connection)
           
 java.sql.Connection getConnection()
           
 void releaseConnection(java.sql.Connection connection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionPool

public ConnectionPool(java.sql.Driver dbDriver,
                      java.lang.String dbUrl,
                      java.util.Properties dbProps)
Method Detail

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException

destroyConnection

public void destroyConnection(java.sql.Connection connection)

releaseConnection

public void releaseConnection(java.sql.Connection connection)

WPI GDC CMS 0.0.1

Copyright © 2001 WPI Game Development Club. All Rights Reserved.