|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | 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 (src) connectionEventListener)
Add an event listener. |
void |
close()
Close the physical connection. |
java.sql.Connection |
getConnection()
Create an object handle for this physical connection. |
void |
removeConnectionEventListener(ConnectionEventListener (src) connectionEventListener)
Remove an event listener. |
Method Detail |
public void addConnectionEventListener(ConnectionEventListener (src) connectionEventListener)
connectionEventListener
- - The listenerpublic void close() throws java.sql.SQLException
java.sql.SQLException
- - if a database-access error occurs.public java.sql.Connection getConnection() throws java.sql.SQLException
java.sql.SQLException
- - if a database-access error occurs.public void removeConnectionEventListener(ConnectionEventListener (src) connectionEventListener)
connectionEventListener
- - The listener
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |