borland Packages  Class Hierarchy  sql.dataset Package  Index 

ConnectionUpdateListener interface

java.util.EventListener
   +----borland.sql.dataset.ConnectionUpdateListener

About the ConnectionUpdateListener interface

Methods  

Implemented by ConnectionUpdateAdapter, JdbcProvider, OracleProcedureProvider, ProcedureProvider, QueryProvider

This class is used for notification before and after closing a database connection or changing the attributes of the JDBC connection.


ConnectionUpdateListener methods

Methods defined in this interface


ConnectionUpdateListener methods

canChangeConnection(borland.sql.dataset.ConnectionUpdateEvent)

  public void canChangeConnection(borland.sql.dataset.ConnectionUpdateEvent event)
The event that gets fired when a database connection is about to change. Throwing an Exception will block the connection change.

connectionChanged(borland.sql.dataset.ConnectionUpdateEvent)

  public void connectionChanged(borland.sql.dataset.ConnectionUpdateEvent event)
The event that gets fired when a database connection has changed.

connectionClosed(borland.sql.dataset.ConnectionUpdateEvent)

  public void connectionClosed(borland.sql.dataset.ConnectionUpdateEvent event)
The event that gets fired when a database connection is closed.