| 
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.commons.jdbc.ConnectionPool
class ConnectionPool
Simple implementation of a JDBC connection pool based on the Apache Commons Pool and DBCP projects.
| Constructor Summary | |
|---|---|
ConnectionPool(String id,
               DatabaseType type,
               String connectURI,
               String user,
               String password,
               int minIdle,
               int maxActive)
Creates a new ConnectionPool instance. | 
|
| Method Summary | |
|---|---|
(package private)  Connection | 
getConnection()
Returns a Connection from the pool. | 
(package private)  DatabaseType | 
getType()
Returns the type of database.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
ConnectionPool(String id,
               DatabaseType type,
               String connectURI,
               String user,
               String password,
               int minIdle,
               int maxActive)
ConnectionPool instance.
id - type - connectURI - user - password - minIdle - maxActive - | Method Detail | 
|---|
Connection getConnection()
                   throws SQLException
Connection from the pool.
SQLExceptionDatabaseType getType()
  | 
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||