javax.resource.spi
Interface ConnectionEventListener

All Superinterfaces:
java.util.EventListener

public interface ConnectionEventListener
extends java.util.EventListener

A listener for connection events, implemented by the application server.


Method Summary
 void connectionClosed(ConnectionEvent event)
          Notifies that an application has closed the connection.
 void connectionErrorOccurred(ConnectionEvent event)
          Notifies that a connection error has occurred.
 void localTransactionCommitted(ConnectionEvent event)
          Notifies that a local transaction has committed.
 void localTransactionRolledback(ConnectionEvent event)
          Notifies that a local transaction has rolled back.
 void localTransactionStarted(ConnectionEvent event)
          Notifies that a local transaction has started.
 

Method Detail

connectionClosed

void connectionClosed(ConnectionEvent event)
Notifies that an application has closed the connection.


localTransactionStarted

void localTransactionStarted(ConnectionEvent event)
Notifies that a local transaction has started.


localTransactionCommitted

void localTransactionCommitted(ConnectionEvent event)
Notifies that a local transaction has committed.


localTransactionRolledback

void localTransactionRolledback(ConnectionEvent event)
Notifies that a local transaction has rolled back.


connectionErrorOccurred

void connectionErrorOccurred(ConnectionEvent event)
Notifies that a connection error has occurred.