|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.carbon.registry.core.jdbc.utils.RegistryDataSource
@Deprecated public class RegistryDataSource
Use RegistryUtils.buildDataSource(DataBaseConfiguration)
.
Constructor Summary | |
---|---|
RegistryDataSource(DataBaseConfiguration config)
Deprecated. |
|
RegistryDataSource(DataSource dataSource)
Deprecated. Constructor accepting a data source which will be wrapped as a registry data source |
Method Summary | ||
---|---|---|
Connection |
getConnection()
Deprecated. |
|
Connection |
getConnection(String username,
String password)
Deprecated. |
|
int |
getLoginTimeout()
Deprecated. |
|
PrintWriter |
getLogWriter()
Deprecated. |
|
boolean |
isWrapperFor(Class<?> i)
Deprecated. |
|
void |
setLoginTimeout(int seconds)
Deprecated. |
|
void |
setLogWriter(PrintWriter out)
Deprecated. |
|
|
unwrap(Class<T> i)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegistryDataSource(DataSource dataSource)
dataSource
- public RegistryDataSource(DataBaseConfiguration config)
Method Detail |
---|
public Connection getConnection() throws SQLException
getConnection
in interface DataSource
SQLException
public Connection getConnection(String username, String password) throws SQLException
getConnection
in interface DataSource
SQLException
public PrintWriter getLogWriter() throws SQLException
getLogWriter
in interface DataSource
SQLException
public void setLogWriter(PrintWriter out) throws SQLException
setLogWriter
in interface DataSource
SQLException
public void setLoginTimeout(int seconds) throws SQLException
setLoginTimeout
in interface DataSource
SQLException
public int getLoginTimeout() throws SQLException
getLoginTimeout
in interface DataSource
SQLException
public <T> T unwrap(Class<T> i) throws SQLException
SQLException
public boolean isWrapperFor(Class<?> i) throws SQLException
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |