|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcc.glsn.v15.DBConnMgr
public class DBConnMgr
Manages a group of SQL connections and gives them out to threads who ask
| Field Summary | |
|---|---|
static int |
SQLMaxOpenTries
|
| Constructor Summary | |
|---|---|
DBConnMgr(int maxConn,
String driver,
String url,
String username,
String password)
|
|
| Method Summary | |
|---|---|
void |
close()
|
SQLConnection |
getConn()
|
void |
relConn(SQLConnection S)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SQLMaxOpenTries
| Constructor Detail |
|---|
public DBConnMgr(int maxConn,
String driver,
String url,
String username,
String password)
maxConn - driver - url - username - password - | Method Detail |
|---|
public SQLConnection getConn()
throws SQLException
SQLException
public void relConn(SQLConnection S)
throws SQLException
SQLException
public void close()
throws SQLException
SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||