com.bankframe.jca.samplefileadapter
Class SampleConnectionEventListener

java.lang.Object
  extended by com.bankframe.jca.samplefileadapter.SampleConnectionEventListener
All Implemented Interfaces:
EventListener, ConnectionEventListener

public class SampleConnectionEventListener
extends Object
implements ConnectionEventListener


Constructor Summary
SampleConnectionEventListener(ManagedConnection mcon)
           
 
Method Summary
 void addConnectorListener(ConnectionEventListener l)
           
 void connectionClosed(ConnectionEvent connectionevent)
           
 void connectionErrorOccurred(ConnectionEvent event)
           
 void removeConnectorListener(ConnectionEventListener l)
           
 void sendEvent(int eventType, Exception ex, Object connectionHandle)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleConnectionEventListener

public SampleConnectionEventListener(ManagedConnection mcon)
Method Detail

sendEvent

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

addConnectorListener

public void addConnectorListener(ConnectionEventListener l)

removeConnectorListener

public void removeConnectorListener(ConnectionEventListener l)

connectionClosed

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

connectionErrorOccurred

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


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