com.p6spy.engine.spy
Class P6DriverManagerDataSource
java.lang.Object
com.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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rds
protected javax.sql.DataSource rds
url
protected java.lang.String url
user
protected java.lang.String user
password
protected java.lang.String password
P6DriverManagerDataSource
public P6DriverManagerDataSource()
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