@Deprecated public class RegistryDataSource extends Object implements DataSource
| Constructor and Description |
|---|
RegistryDataSource(DataBaseConfiguration config)
Deprecated.
|
RegistryDataSource(DataSource dataSource)
Deprecated.
Constructor accepting a data source which will be wrapped as a registry data source
|
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection()
Deprecated.
|
Connection |
getConnection(String username,
String password)
Deprecated.
|
int |
getLoginTimeout()
Deprecated.
|
PrintWriter |
getLogWriter()
Deprecated.
|
Logger |
getParentLogger()
Deprecated.
|
boolean |
isWrapperFor(Class<?> i)
Deprecated.
|
void |
setLoginTimeout(int seconds)
Deprecated.
|
void |
setLogWriter(PrintWriter out)
Deprecated.
|
<T> T |
unwrap(Class<T> i)
Deprecated.
|
public RegistryDataSource(DataSource dataSource)
dataSource - public RegistryDataSource(DataBaseConfiguration config)
public Connection getConnection() throws SQLException
getConnection in interface DataSourceSQLExceptionpublic Connection getConnection(String username, String password) throws SQLException
getConnection in interface DataSourceSQLExceptionpublic PrintWriter getLogWriter() throws SQLException
getLogWriter in interface CommonDataSourceSQLExceptionpublic void setLogWriter(PrintWriter out) throws SQLException
setLogWriter in interface CommonDataSourceSQLExceptionpublic void setLoginTimeout(int seconds)
throws SQLException
setLoginTimeout in interface CommonDataSourceSQLExceptionpublic int getLoginTimeout()
throws SQLException
getLoginTimeout in interface CommonDataSourceSQLExceptionpublic <T> T unwrap(Class<T> i) throws SQLException
unwrap in interface WrapperSQLExceptionpublic boolean isWrapperFor(Class<?> i) throws SQLException
isWrapperFor in interface WrapperSQLExceptionpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface CommonDataSourceSQLFeatureNotSupportedExceptionCopyright © 2016 WSO2 Inc. All Rights Reserved.