|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PooledConnection
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 |
---|
void addConnectionEventListener(ConnectionEventListener connectionEventListener)
connectionEventListener
- - The listenervoid close() throws SQLException
SQLException
- - if a database-access error occurs.Connection getConnection() throws SQLException
SQLException
- - if a database-access error occurs.void removeConnectionEventListener(ConnectionEventListener connectionEventListener)
connectionEventListener
- - The listener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |