org.axiondb.jdbc
Class AxionDataSource

java.lang.Object
  extended by org.axiondb.jdbc.ConnectionFactory
      extended by org.axiondb.jdbc.AxionDataSource
All Implemented Interfaces:
DataSource

public class AxionDataSource
extends ConnectionFactory
implements DataSource

A DataSource implementation.

Version:
$Revision: 1.4 $ $Date: 2004/09/09 23:47:43 $

Field Summary
 
Fields inherited from class org.axiondb.jdbc.ConnectionFactory
URL_PREFIX
 
Constructor Summary
AxionDataSource(String connectString)
           
 
Method Summary
 Connection getConnection()
           
 Connection getConnection(String uname, String passwd)
           
 int getLoginTimeout()
           
 PrintWriter getLogWriter()
           
 void setLoginTimeout(int seconds)
           
 void setLogWriter(PrintWriter log)
           
 
Methods inherited from class org.axiondb.jdbc.ConnectionFactory
createConnection, isValidConnectString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxionDataSource

public AxionDataSource(String connectString)
Method Detail

getConnection

public Connection getConnection()
                         throws SQLException
Specified by:
getConnection in interface DataSource
Throws:
SQLException

getConnection

public Connection getConnection(String uname,
                                String passwd)
                         throws SQLException
Specified by:
getConnection in interface DataSource
Throws:
SQLException

getLoginTimeout

public int getLoginTimeout()
Specified by:
getLoginTimeout in interface DataSource

setLoginTimeout

public void setLoginTimeout(int seconds)
Specified by:
setLoginTimeout in interface DataSource

getLogWriter

public PrintWriter getLogWriter()
Specified by:
getLogWriter in interface DataSource

setLogWriter

public void setLogWriter(PrintWriter log)
Specified by:
setLogWriter in interface DataSource