Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

DBConfig Class Reference

Collaboration diagram for DBConfig:

Collaboration graph
[legend]
List of all members.

Detailed Description

Manager for database connection.

Author:
Jon Butterworth
Version:
Date
2006-06-22 17:03:56 +0100 (Thu, 22 Jun 2006)
Revision
1207

Definition at line 12 of file DBConfig.java.


Static Public Member Functions

void init ()
synchronized Connection getConnection ()
DBConnectionManager getDBConnectionManager ()

Static Public Attributes

String JETWEB

Static Private Attributes

DBConnectionManager db = new DBConnectionManager()

Member Function Documentation

synchronized Connection getConnection  )  [static]
 

Definition at line 25 of file DBConfig.java.

References DBConnectionManager.getConnection().

00025                                                          {
00026     return(db.getConnection());
00027     }

DBConnectionManager getDBConnectionManager  )  [static]
 

Definition at line 29 of file DBConfig.java.

00029                                                               {
00030     return(db);
00031     }

void init  )  [static]
 

Definition at line 19 of file DBConfig.java.

References DBConnectionManager.init().

00019                              {
00020     JETWEB = "jetweb";
00021     db.init();
00022     return;
00023     }


Member Data Documentation

DBConnectionManager db = new DBConnectionManager() [static, private]
 

Definition at line 15 of file DBConfig.java.

String JETWEB [static]
 

Definition at line 14 of file DBConfig.java.


The documentation for this class was generated from the following file:

Generated Wed Jan 17 09:14:27 GMT 2007