API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sql. PooledConnection View Source
Author(s)
Since
1.4
Version
Serial
Hierarchy
 PooledConnection
Subinterfaces
Description
public interface PooledConnection
  An object that provides hooks for connection pool management.
See also:   
Methods
Hide/Show inherited methods
public void addConnectionEventListener (ConnectionEventListener listener)
  Registers the given event listener so that it will be notified when an event occurs on this PooledConnection object.
public void addStatementEventListener (StatementEventListener listener)
  Registers a StatementEventListener with this PooledConnection object.
public void close () throws SQLException
  Closes the physical connection that this PooledConnection object represents.
public Connection getConnection () throws SQLException
  Creates and returns a Connection object that is a handle for the physical connection that this PooledConnection object represents.
public void removeConnectionEventListener (ConnectionEventListener listener)
  Removes the given event listener from the list of components that will be notified when an event occurs on this PooledConnection object.
public void removeStatementEventListener (StatementEventListener listener)
  Removes the specified StatementEventListener from the list of components that will be notified when the driver detects that a PreparedStatement has been closed or is invalid.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar