|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.shiftone.ooc.factory.DriverDataSource
Constructor Summary | |
DriverDataSource(java.lang.String driverClassName,
java.lang.String url,
java.util.Properties baseProps)
Constructor DriverDataSource |
Method Summary | |
java.sql.Connection |
getConnection()
Method getConnection |
java.sql.Connection |
getConnection(java.lang.String username,
java.lang.String password)
Method getConnection |
int |
getLoginTimeout()
Method getLoginTimeout |
java.io.PrintWriter |
getLogWriter()
Method getLogWriter |
void |
setLoginTimeout(int seconds)
Method setLoginTimeout |
void |
setLogWriter(java.io.PrintWriter out)
Method setLogWriter |
java.lang.String |
toString()
Method toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DriverDataSource(java.lang.String driverClassName, java.lang.String url, java.util.Properties baseProps)
driverClassName
- url
- baseProps
- Method Detail |
public java.lang.String toString()
public java.sql.Connection getConnection() throws java.sql.SQLException
getConnection
in interface javax.sql.DataSource
java.sql.SQLException
public java.sql.Connection getConnection(java.lang.String username, java.lang.String password) throws java.sql.SQLException
getConnection
in interface javax.sql.DataSource
java.sql.SQLException
public int getLoginTimeout() throws java.sql.SQLException
getLoginTimeout
in interface javax.sql.DataSource
java.sql.SQLException
public void setLoginTimeout(int seconds) throws java.sql.SQLException
setLoginTimeout
in interface javax.sql.DataSource
java.sql.SQLException
public java.io.PrintWriter getLogWriter() throws java.sql.SQLException
getLogWriter
in interface javax.sql.DataSource
java.sql.SQLException
public void setLogWriter(java.io.PrintWriter out) throws java.sql.SQLException
setLogWriter
in interface javax.sql.DataSource
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |