All Packages Class Hierarchy This Package Previous Next Index
Interface org.xmlmiddleware.db.CPConnectionEventListener
- public interface CPConnectionEventListener
- extends EventListener
Listener for connection events.
For why javax.sql.ConnectionEventListener is not used,
see CPConnectionEventSource.
- Version:
- 2.0
- Author:
- Sean Walter, 2001
- See Also:
- CPConnectionEventSource
-
connectionClosed(CPConnectionEvent)
- Called when the connection is closed.
-
connectionErrorOccurred(CPConnectionEvent)
- Called when error occurs on a connection.
connectionClosed
public abstract void connectionClosed(CPConnectionEvent event)
- Called when the connection is closed.
- Parameters:
- event - Event object containing CPConnection as source.
connectionErrorOccurred
public abstract void connectionErrorOccurred(CPConnectionEvent event)
- Called when error occurs on a connection.
- Parameters:
- event - Event object containing CPConnection as source.
All Packages Class Hierarchy This Package Previous Next Index