站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 j2ee API Documentation 英文版文档

ConnectionEventListener (JBoss J2EE API) - JBoss 3.2.7 j2ee API Documentation 英文版文档


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

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


localTransactionStarted

public void localTransactionStarted(ConnectionEvent event)
Local transaction has been started


localTransactionCommitted

public void localTransactionCommitted(ConnectionEvent event)
Local transaction has been committed


localTransactionRolledback

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


connectionErrorOccurred

public void connectionErrorOccurred(ConnectionEvent event)
Connection error has occurred



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