|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.imcode.imcms.api.DatabaseService
public class DatabaseService
| Constructor Summary | |
|---|---|
DatabaseService(javax.sql.DataSource dataSource)
|
|
| Method Summary | |
|---|---|
java.sql.Connection |
getConnection()
Get a databaseconnection from the connectionpool. |
javax.sql.DataSource |
getDataSource()
Get the underlying DataSource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatabaseService(javax.sql.DataSource dataSource)
| Method Detail |
|---|
public java.sql.Connection getConnection()
throws java.sql.SQLException
Connection from the connectionpool.
java.sql.SQLException - if there was a problem getting the connection.public javax.sql.DataSource getDataSource()
DataSource.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||