public class P6DriverManagerDataSource extends Object implements DataSource
Modifier and Type | Field and Description |
---|---|
protected String |
password |
protected DataSource |
rds |
protected String |
url |
protected String |
user |
Constructor and Description |
---|
P6DriverManagerDataSource() |
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection() |
Connection |
getConnection(String p0,
String p1) |
Connection |
getConnection(String p0,
String p1,
String p2) |
int |
getLoginTimeout() |
PrintWriter |
getLogWriter() |
Logger |
getParentLogger() |
String |
getPassword() |
String |
getUrl() |
String |
getUser() |
boolean |
isWrapperFor(Class<?> arg0) |
void |
setLoginTimeout(int inVar) |
void |
setLogWriter(PrintWriter inVar) |
void |
setPassword(String inVar) |
void |
setUrl(String inVar) |
void |
setUser(String inVar) |
<T> T |
unwrap(Class<T> arg0) |
protected DataSource rds
protected String url
protected String user
protected String password
public String getPassword()
public void setPassword(String inVar)
public String getUser()
public void setUser(String inVar)
public String getUrl()
public void setUrl(String inVar)
public int getLoginTimeout() throws SQLException
getLoginTimeout
in interface CommonDataSource
SQLException
public void setLoginTimeout(int inVar) throws SQLException
setLoginTimeout
in interface CommonDataSource
SQLException
public PrintWriter getLogWriter() throws SQLException
getLogWriter
in interface CommonDataSource
SQLException
public void setLogWriter(PrintWriter inVar) throws SQLException
setLogWriter
in interface CommonDataSource
SQLException
public Connection getConnection() throws SQLException
getConnection
in interface DataSource
SQLException
public Connection getConnection(String p0, String p1) throws SQLException
getConnection
in interface DataSource
SQLException
public Connection getConnection(String p0, String p1, String p2) throws SQLException
SQLException
public Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger
in interface CommonDataSource
SQLFeatureNotSupportedException
public boolean isWrapperFor(Class<?> arg0) throws SQLException
isWrapperFor
in interface Wrapper
SQLException
public <T> T unwrap(Class<T> arg0) throws SQLException
unwrap
in interface Wrapper
SQLException