planetj.database.connection
Interface IConnectionListener


public interface IConnectionListener

Objects implement this Interface when they want to listen for events involving connections. After being added to the DatabaseManager as a listener, an IConnectionListener will get notified when an event involving connections occurs. In general, all event processing in the listeners takes place before the anyone else sees the event as complete. For example, when a connection is returned to the connection pool, all listeners must process the CONNECTION_CHECK_IN event, and only then is the connection available to be checked out of the connection pool.


Method Summary
 void handleConnectionEvent(ConnectionEvent event)
          Invoked when a ConnectionEvent occurs.
 

Method Detail

handleConnectionEvent

public void handleConnectionEvent(ConnectionEvent event)
Invoked when a ConnectionEvent occurs.