javax.resource.spi
Interface ConnectionEventListener

All Superinterfaces:
EventListener

public interface ConnectionEventListener
extends EventListener

The ConnectionEventListener interface provides for a callback mechanism to enable objects to listen for events of the ConnectionEvent class. An Application server uses these events to manage its connection pools.


Method Summary
 void connectionClosed(ConnectionEvent event)
          Notifies the listener that a connection has been closed
 void connectionErrorOccurred(ConnectionEvent event)
          Connection error has occurred
 void localTransactionCommitted(ConnectionEvent event)
          Local transaction has been committed
 void localTransactionRolledback(ConnectionEvent event)
          Local transaction has been rolled back
 void localTransactionStarted(ConnectionEvent event)
          Local transaction has been started
 

Method Detail

connectionClosed

void connectionClosed(ConnectionEvent event)
Notifies the listener that a connection has been closed

Parameters:
event - the closed event

localTransactionStarted

void localTransactionStarted(ConnectionEvent event)
Local transaction has been started

Parameters:
event - the local transaction started event

localTransactionCommitted

void localTransactionCommitted(ConnectionEvent event)
Local transaction has been committed

Parameters:
event - the local transaction committed event

localTransactionRolledback

void localTransactionRolledback(ConnectionEvent event)
Local transaction has been rolled back

Parameters:
the - local transaction rolled back event

connectionErrorOccurred

void connectionErrorOccurred(ConnectionEvent event)
Connection error has occurred

Parameters:
the - connection error event


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.