|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A PooledConnection object is a connection object that provides hooks for connection pool management. A PooledConnection object represents a physical connection to a data source.
| Method Summary | |
void |
addConnectionEventListener(ConnectionEventListener connectionEventListener)
Add an event listener. |
void |
close()
Close the physical connection. |
Connection |
getConnection()
Create an object handle for this physical connection. |
void |
removeConnectionEventListener(ConnectionEventListener connectionEventListener)
Remove an event listener. |
| Method Detail |
public void addConnectionEventListener(ConnectionEventListener connectionEventListener)
connectionEventListener - - The listener
public void close()
throws SQLException
SQLException - - if a database-access error occurs.public Connection getConnection() throws SQLException
SQLException - - if a database-access error occurs.public void removeConnectionEventListener(ConnectionEventListener connectionEventListener)
connectionEventListener - - The listener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||