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

Method Index

 o connectionClosed(CPConnectionEvent)
Called when the connection is closed.
 o connectionErrorOccurred(CPConnectionEvent)
Called when error occurs on a connection.

Methods

 o connectionClosed
 public abstract void connectionClosed(CPConnectionEvent event)
Called when the connection is closed.

Parameters:
event - Event object containing CPConnection as source.
 o 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