net.sf.classifier4J.bayesian
Class DataSourceJDBCConnectionManager

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

public class DataSourceJDBCConnectionManager
extends java.lang.Object
implements IJDBCConnectionManager

Author:
Nick Lothian

Constructor Summary
DataSourceJDBCConnectionManager(java.lang.String ctx)
           
 
Method Summary
 java.sql.Connection getConnection()
           
 java.lang.String getDatasourceContext()
           
 void returnConnection(java.sql.Connection con)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceJDBCConnectionManager

public DataSourceJDBCConnectionManager(java.lang.String ctx)
                                throws javax.naming.NamingException,
                                       java.lang.IllegalArgumentException
Method Detail

getDatasourceContext

public java.lang.String getDatasourceContext()

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.