com.bankframe.jca.samplefileadapter
Class SampleConnectionEventListener

java.lang.Object
  extended bycom.bankframe.jca.samplefileadapter.SampleConnectionEventListener
All Implemented Interfaces:
javax.sql.ConnectionEventListener, java.util.EventListener

public class SampleConnectionEventListener
extends java.lang.Object
implements javax.sql.ConnectionEventListener


Constructor Summary
SampleConnectionEventListener(javax.resource.spi.ManagedConnection mcon)
           
 
Method Summary
 void addConnectorListener(javax.resource.spi.ConnectionEventListener l)
           
 void connectionClosed(javax.sql.ConnectionEvent connectionevent)
           
 void connectionErrorOccurred(javax.sql.ConnectionEvent event)
           
 void removeConnectorListener(javax.resource.spi.ConnectionEventListener l)
           
 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

SampleConnectionEventListener

public SampleConnectionEventListener(javax.resource.spi.ManagedConnection mcon)
Method Detail

sendEvent

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

addConnectorListener

public void addConnectorListener(javax.resource.spi.ConnectionEventListener l)

removeConnectorListener

public void removeConnectorListener(javax.resource.spi.ConnectionEventListener l)

connectionClosed

public void connectionClosed(javax.sql.ConnectionEvent connectionevent)
Specified by:
connectionClosed in interface javax.sql.ConnectionEventListener

connectionErrorOccurred

public void connectionErrorOccurred(javax.sql.ConnectionEvent event)
Specified by:
connectionErrorOccurred in interface javax.sql.ConnectionEventListener


Copyright © 2005, 2007, Oracle. All rights reserved.