All Packages Class Hierarchy This Package Previous Next Index
This interface is roughly parallel to javax.sql.PooledConnection. However, we do not use PooledConnection (nor do we use ConnectionEvent or ConnectionEventListener) because of our connection pool architecture. In particular, PooledConnection is designed to be on a different object than Connection. This is because both have close() methods (which therefore collide), and PooledConnection has methods to get and close the underlying connection, neither of which should be exposed to the application. We implement both CPConnectionEventSource and Connection on the CPConnection object.
public abstract void addConnectionEventListener(CPConnectionEventListener listener)
public abstract void removeConnectionEventListener(CPConnectionEventListener listener)
All Packages Class Hierarchy This Package Previous Next Index