com.sun.genericra.outbound
Class ConnectionEventListenerHandler

java.lang.Object
  extended by com.sun.genericra.outbound.ConnectionEventListenerHandler

public class ConnectionEventListenerHandler
extends java.lang.Object

Encapsulates the event listener usage of the resource adapter. All the connection event listeners registered will be saved in this object.

Author:
Sivakumar Thyagarajan

Constructor Summary
ConnectionEventListenerHandler(ManagedConnection mc)
           
 
Method Summary
 void addConnectionEventListener(javax.resource.spi.ConnectionEventListener cel)
           
 void removeConnectionEventListener(javax.resource.spi.ConnectionEventListener cel)
           
 void sendEvent(int eventType, java.lang.Exception ex, java.lang.Object connectionHandle)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionEventListenerHandler

public ConnectionEventListenerHandler(ManagedConnection mc)
Method Detail

addConnectionEventListener

public void addConnectionEventListener(javax.resource.spi.ConnectionEventListener cel)

removeConnectionEventListener

public void removeConnectionEventListener(javax.resource.spi.ConnectionEventListener cel)

sendEvent

public void sendEvent(int eventType,
                      java.lang.Exception ex,
                      java.lang.Object connectionHandle)