org.axiondb.jdbc
Class AxionDataSource
java.lang.Object
org.axiondb.jdbc.ConnectionFactory
org.axiondb.jdbc.AxionDataSource
- All Implemented Interfaces:
- java.sql.Wrapper, javax.sql.CommonDataSource, javax.sql.DataSource
public class AxionDataSource
- extends ConnectionFactory
- implements javax.sql.DataSource
A DataSource
implementation.
- Version:
- $Revision: 1.6 $ $Date: 2007/11/13 19:04:01 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AxionDataSource
public AxionDataSource(java.lang.String connectString)
getConnection
public java.sql.Connection getConnection()
throws java.sql.SQLException
- Specified by:
getConnection
in interface javax.sql.DataSource
- Throws:
java.sql.SQLException
getConnection
public java.sql.Connection getConnection(java.lang.String uname,
java.lang.String passwd)
throws java.sql.SQLException
- Specified by:
getConnection
in interface javax.sql.DataSource
- Throws:
java.sql.SQLException
getLoginTimeout
public int getLoginTimeout()
- Specified by:
getLoginTimeout
in interface javax.sql.CommonDataSource
setLoginTimeout
public void setLoginTimeout(int seconds)
- Specified by:
setLoginTimeout
in interface javax.sql.CommonDataSource
getLogWriter
public java.io.PrintWriter getLogWriter()
- Specified by:
getLogWriter
in interface javax.sql.CommonDataSource
setLogWriter
public void setLogWriter(java.io.PrintWriter log)
- Specified by:
setLogWriter
in interface javax.sql.CommonDataSource
isWrapperFor
public boolean isWrapperFor(java.lang.Class<?> arg0)
throws java.sql.SQLException
- Specified by:
isWrapperFor
in interface java.sql.Wrapper
- Throws:
java.sql.SQLException
unwrap
public <T> T unwrap(java.lang.Class<T> arg0)
throws java.sql.SQLException
- Specified by:
unwrap
in interface java.sql.Wrapper
- Throws:
java.sql.SQLException