An interface used to receive events generated by a {@link PooledConnection}.
This interface would typically be implemented by a component which manages a
connection pool (a connection pool manager). A connection triggers an event
to a {@code ConnectionEventListener} either when the application closes a
connection it has been using or when a significant error occurs while the
connection is being used.
The connection pool manager can return closed connections to the pool for
later reuse. Connections experiencing an error should be discarded.
|