com.p6spy.engine.spy
Class P6DriverManagerDataSource

java.lang.Object
  extended by com.p6spy.engine.spy.P6DriverManagerDataSource
All Implemented Interfaces:
DataSource

public class P6DriverManagerDataSource
extends Object
implements DataSource


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)
           
 int getLoginTimeout()
           
 PrintWriter getLogWriter()
           
 String getPassword()
           
 String getUrl()
           
 String getUser()
           
 void setLoginTimeout(int inVar)
           
 void setLogWriter(PrintWriter inVar)
           
 void setPassword(String inVar)
           
 void setUrl(String inVar)
           
 void setUser(String inVar)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rds

protected DataSource rds

url

protected String url

user

protected String user

password

protected String password
Constructor Detail

P6DriverManagerDataSource

public P6DriverManagerDataSource()
Method Detail

getPassword

public String getPassword()

setPassword

public void setPassword(String inVar)

getUser

public String getUser()

setUser

public void setUser(String inVar)

getUrl

public String getUrl()

setUrl

public void setUrl(String inVar)

getLoginTimeout

public int getLoginTimeout()
                    throws SQLException
Specified by:
getLoginTimeout in interface DataSource
Throws:
SQLException

setLoginTimeout

public void setLoginTimeout(int inVar)
                     throws SQLException
Specified by:
setLoginTimeout in interface DataSource
Throws:
SQLException

getLogWriter

public PrintWriter getLogWriter()
                         throws SQLException
Specified by:
getLogWriter in interface DataSource
Throws:
SQLException

setLogWriter

public void setLogWriter(PrintWriter inVar)
                  throws SQLException
Specified by:
setLogWriter in interface DataSource
Throws:
SQLException

getConnection

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

getConnection

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

getConnection

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