net.sf.classifier4J.bayesian
Class DriverMangerJDBCConnectionManager

java.lang.Object
  |
  +--net.sf.classifier4J.bayesian.DriverMangerJDBCConnectionManager
All Implemented Interfaces:
IJDBCConnectionManager

public class DriverMangerJDBCConnectionManager
extends java.lang.Object
implements IJDBCConnectionManager

Author:
Nick Lothian

Constructor Summary
DriverMangerJDBCConnectionManager(java.lang.String url, java.lang.String user, java.lang.String password)
           
 
Method Summary
 java.sql.Connection getConnection()
           
 java.lang.String getDbPassword()
           
 java.lang.String getDbURL()
           
 java.lang.String getDbUser()
           
 void returnConnection(java.sql.Connection con)
           
 void setDbPassword(java.lang.String string)
           
 void setDbURL(java.lang.String string)
           
 void setDbUser(java.lang.String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriverMangerJDBCConnectionManager

public DriverMangerJDBCConnectionManager(java.lang.String url,
                                         java.lang.String user,
                                         java.lang.String password)
Method Detail

getDbPassword

public java.lang.String getDbPassword()

getDbURL

public java.lang.String getDbURL()

getDbUser

public java.lang.String getDbUser()

setDbPassword

public void setDbPassword(java.lang.String string)

setDbURL

public void setDbURL(java.lang.String string)

setDbUser

public void setDbUser(java.lang.String string)

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException
Specified by:
getConnection in interface IJDBCConnectionManager
java.sql.SQLException
See Also:
IJDBCConnectionManager.getConnection()

returnConnection

public void returnConnection(java.sql.Connection con)
                      throws java.sql.SQLException
Specified by:
returnConnection in interface IJDBCConnectionManager
java.sql.SQLException
See Also:
IJDBCConnectionManager.returnConnection(Connection con)


Copyright © 2003-2005 Nick Lothian. All Rights Reserved.