com.javaexchange.dbConnectionBroker
Class JDBCGlobalBroker

java.lang.Object
  |
  +--com.javaexchange.dbConnectionBroker.JDBCGlobalBroker

public class JDBCGlobalBroker
extends java.lang.Object


Constructor Summary
JDBCGlobalBroker(java.io.File configFile)
           
JDBCGlobalBroker(java.lang.String dbDriver, java.lang.String dbServer, java.lang.String dbLogin, java.lang.String dbPassword, int minConns, int maxConns, java.lang.String logFileString, double maxConnTime)
           
 
Method Summary
 void destroy()
           
 void freeConnection(java.sql.Connection conn)
           
 java.sql.Connection getConnection()
           
 int idOfConnection(java.sql.Connection conn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCGlobalBroker

public JDBCGlobalBroker(java.lang.String dbDriver,
                        java.lang.String dbServer,
                        java.lang.String dbLogin,
                        java.lang.String dbPassword,
                        int minConns,
                        int maxConns,
                        java.lang.String logFileString,
                        double maxConnTime)
                 throws java.io.IOException

JDBCGlobalBroker

public JDBCGlobalBroker(java.io.File configFile)
                 throws java.io.IOException
Method Detail

getConnection

public java.sql.Connection getConnection()

freeConnection

public void freeConnection(java.sql.Connection conn)

idOfConnection

public int idOfConnection(java.sql.Connection conn)

destroy

public void destroy()