|
||||||||||
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 DataAccessManager.createDatabase()
.
Constructor Summary | |
---|---|
RegistryDataSource(DataBaseConfiguration config)
Deprecated. |
|
RegistryDataSource(javax.sql.DataSource dataSource)
Deprecated. Constructor accepting a data source which will be wrapped as a registry data source |
Method Summary | ||
---|---|---|
java.sql.Connection |
getConnection()
Deprecated. |
|
java.sql.Connection |
getConnection(java.lang.String username,
java.lang.String password)
Deprecated. |
|
int |
getLoginTimeout()
Deprecated. |
|
java.io.PrintWriter |
getLogWriter()
Deprecated. |
|
boolean |
isWrapperFor(java.lang.Class<?> i)
Deprecated. |
|
void |
setLoginTimeout(int seconds)
Deprecated. |
|
void |
setLogWriter(java.io.PrintWriter out)
Deprecated. |
|
|
unwrap(java.lang.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(javax.sql.DataSource dataSource)
dataSource
- public RegistryDataSource(DataBaseConfiguration config)
Method Detail |
---|
public java.sql.Connection getConnection() throws java.sql.SQLException
getConnection
in interface javax.sql.DataSource
java.sql.SQLException
public java.sql.Connection getConnection(java.lang.String username, java.lang.String password) throws java.sql.SQLException
getConnection
in interface javax.sql.DataSource
java.sql.SQLException
public java.io.PrintWriter getLogWriter() throws java.sql.SQLException
getLogWriter
in interface javax.sql.CommonDataSource
java.sql.SQLException
public void setLogWriter(java.io.PrintWriter out) throws java.sql.SQLException
setLogWriter
in interface javax.sql.CommonDataSource
java.sql.SQLException
public void setLoginTimeout(int seconds) throws java.sql.SQLException
setLoginTimeout
in interface javax.sql.CommonDataSource
java.sql.SQLException
public int getLoginTimeout() throws java.sql.SQLException
getLoginTimeout
in interface javax.sql.CommonDataSource
java.sql.SQLException
public <T> T unwrap(java.lang.Class<T> i) throws java.sql.SQLException
unwrap
in interface java.sql.Wrapper
java.sql.SQLException
public boolean isWrapperFor(java.lang.Class<?> i) throws java.sql.SQLException
isWrapperFor
in interface java.sql.Wrapper
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |