com.p6spy.engine.spy

Class P6DriverManagerDataSource

Implemented Interfaces:
DataSource

public class P6DriverManagerDataSource
extends Object
implements DataSource

$Author: cheechq $ $Revision: 1.3 $ $Date: 2003/06/03 19:20:25 $ $Id: P6DriverManagerDataSource.java,v 1.3 2003/06/03 19:20:25 cheechq Exp $ $Source: /cvsroot/p6spy/p6spy/com/p6spy/engine/spy/P6DriverManagerDataSource.java,v $ $Log: P6DriverManagerDataSource.java,v $ Revision 1.3 2003/06/03 19:20:25 cheechq removed unused imports Revision 1.2 2003/01/03 21:17:34 aarvesen use the new P6Util.forName Revision 1.1 2002/12/20 00:30:21 aarvesen Added a simple driver manager around the sucker mc Revision 1.1 2002/12/19 23:51:45 aarvesen Data Source implementation

Field Summary

protected String
password
protected DataSource
rds
protected String
url
protected String
user

Constructor Summary

P6DriverManagerDataSource()

Method Summary

Connection
getConnection()
Connection
getConnection(String p0, String p1)
Connection
getConnection(String p0, String p1, String p2)
PrintWriter
getLogWriter()
int
getLoginTimeout()
String
getPassword()
String
getUrl()
String
getUser()
void
setLogWriter(PrintWriter inVar)
void
setLoginTimeout(int inVar)
void
setPassword(String inVar)
void
setUrl(String inVar)
void
setUser(String inVar)

Field Details

password

protected String password


rds

protected DataSource rds


url

protected String url


user

protected String user

Constructor Details

P6DriverManagerDataSource

public P6DriverManagerDataSource()

Method Details

getConnection

public Connection getConnection()
            throws SQLException


getConnection

public Connection getConnection(String p0,
                                String p1)
            throws SQLException


getConnection

public Connection getConnection(String p0,
                                String p1,
                                String p2)
            throws SQLException


getLogWriter

public PrintWriter getLogWriter()
            throws SQLException


getLoginTimeout

public int getLoginTimeout()
            throws SQLException


getPassword

public String getPassword()


getUrl

public String getUrl()


getUser

public String getUser()


setLogWriter

public void setLogWriter(PrintWriter inVar)
            throws SQLException


setLoginTimeout

public void setLoginTimeout(int inVar)
            throws SQLException


setPassword

public void setPassword(String inVar)


setUrl

public void setUrl(String inVar)


setUser

public void setUser(String inVar)