|
Dekoh platform API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdekoh.portal.fwk.PortalDataSource
public class PortalDataSource
PortalDataSource is a factory of connections to the Dekoh portal's database.
PortalDataSource can be obtained from PortalApplicationContext by calling method
getPortalDataSource().
| Constructor Summary | |
|---|---|
PortalDataSource(PortalConfiguration configuration)
|
|
| Method Summary | |
|---|---|
PortalConfiguration |
getConfiguration()
|
Connection |
getConnection()
|
Connection |
getConnection(String username,
String password)
|
String |
getJdbcUrl()
|
int |
getLoginTimeout()
|
PrintWriter |
getLogWriter()
Not implemented. |
void |
setLoginTimeout(int seconds)
Not implemented. |
void |
setLogWriter(PrintWriter out)
Not implemented. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortalDataSource(PortalConfiguration configuration)
| Method Detail |
|---|
public Connection getConnection()
throws SQLException
getConnection in interface DataSourceSQLException
public Connection getConnection(String username,
String password)
throws SQLException
getConnection in interface DataSourceSQLException
public PrintWriter getLogWriter()
throws SQLException
getLogWriter in interface DataSourceSQLException
public void setLogWriter(PrintWriter out)
throws SQLException
setLogWriter in interface DataSourceout -
SQLException
public void setLoginTimeout(int seconds)
throws SQLException
setLoginTimeout in interface DataSourceseconds -
SQLException
public int getLoginTimeout()
throws SQLException
getLoginTimeout in interface DataSourceSQLExceptionpublic String getJdbcUrl()
public PortalConfiguration getConfiguration()
|
Dekoh platform API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
© 2009 Pramati Technologies - Dekoh - Portal for Developers