|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The EConnectionEventListener interface provides an event callback mechanism to enable a Connection Manager to receive notifications from a EManagedConnection instance. The Connection Manager uses these event notifications to manage its connection pool, and to clean up any invalid or terminated connections. In cases Typically, the Connection Manager (or one of it's helper classes) will implement a ConnectionEventListener interface. The connection manager registers a connection listener with a ManagedConnection instance by using EManagedConnection.addConnectionEventListener method.
Method Summary | |
void |
connectionClosed(EConnectionEvent event)
This method notifies that an application component has closed the connection. |
void |
connectionErrorOccurred(EConnectionEvent event)
This method notifies a connection related error. |
Method Detail |
public void connectionClosed(EConnectionEvent event)
event
- event object describing the source of the event.public void connectionErrorOccurred(EConnectionEvent event)
event
- event object describing the source of the event.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |