|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

public interface ConnectionManager
Interface to abstract the underlying mechanism of obtaining managed connections.
| Method Summary | |
|---|---|
void |
destroy()
Perform cleanup operations. |
java.sql.Connection |
getConnection()
Returns a reference to a pooled connection. |
void |
init(XMLProperties xmlProps)
Initialise the connection manager with the given XMLProperties. |
void |
releaseConnection(java.sql.Connection connection)
Release a connection. |
| Method Detail |
|---|
void init(XMLProperties xmlProps)
throws DaoException
xmlProps - XML configuration properties
DaoException - if the manager cannot be initialised.
java.sql.Connection getConnection()
throws DaoException
DaoException - if a connection cannot be obtained.void releaseConnection(java.sql.Connection connection)
connection - Connection to release
void destroy()
throws DaoException
DaoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||