com.p6spy.engine.spy
Class P6DriverManagerDataSource

java.lang.Object
  extended bycom.p6spy.engine.spy.P6DriverManagerDataSource
All Implemented Interfaces:
javax.sql.DataSource

public class P6DriverManagerDataSource
extends java.lang.Object
implements javax.sql.DataSource


Field Summary
protected  java.lang.String password
           
protected  javax.sql.DataSource rds
           
protected  java.lang.String url
           
protected  java.lang.String user
           
 
Constructor Summary
P6DriverManagerDataSource()
           
 
Method Summary
 java.sql.Connection getConnection()
           
 java.sql.Connection getConnection(java.lang.String p0, java.lang.String p1)
           
 java.sql.Connection getConnection(java.lang.String p0, java.lang.String p1, java.lang.String p2)
           
 int getLoginTimeout()
           
 java.io.PrintWriter getLogWriter()
           
 java.lang.String getPassword()
           
 java.lang.String getUrl()
           
 java.lang.String getUser()
           
 void setLoginTimeout(int inVar)
           
 void setLogWriter(java.io.PrintWriter inVar)
           
 void setPassword(java.lang.String inVar)
           
 void setUrl(java.lang.String inVar)
           
 void setUser(java.lang.String inVar)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rds

protected javax.sql.DataSource rds

url

protected java.lang.String url

user

protected java.lang.String user

password

protected java.lang.String password
Constructor Detail

P6DriverManagerDataSource

public P6DriverManagerDataSource()
Method Detail

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String inVar)

getUser

public java.lang.String getUser()

setUser

public void setUser(java.lang.String inVar)

getUrl

public java.lang.String getUrl()

setUrl

public void setUrl(java.lang.String inVar)

getLoginTimeout

public int getLoginTimeout()
                    throws java.sql.SQLException
Specified by:
getLoginTimeout in interface javax.sql.DataSource
Throws:
java.sql.SQLException

setLoginTimeout

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

getLogWriter

public java.io.PrintWriter getLogWriter()
                                 throws java.sql.SQLException
Specified by:
getLogWriter in interface javax.sql.DataSource
Throws:
java.sql.SQLException

setLogWriter

public void setLogWriter(java.io.PrintWriter inVar)
                  throws java.sql.SQLException
Specified by:
setLogWriter in interface javax.sql.DataSource
Throws:
java.sql.SQLException

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 p0,
                                         java.lang.String p1)
                                  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 p0,
                                         java.lang.String p1,
                                         java.lang.String p2)
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException