com.bankframe.jca.samplefileadapter
Class SampleConnectionEventListener
java.lang.Object
com.bankframe.jca.samplefileadapter.SampleConnectionEventListener
- All Implemented Interfaces:
- EventListener, ConnectionEventListener
public class SampleConnectionEventListener
- extends Object
- implements ConnectionEventListener
SampleConnectionEventListener
public SampleConnectionEventListener(ManagedConnection mcon)
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.