Previous Topic Next topic Print topic


Class MFECIConnectionEventListener

The connector architecture provides an event callback mechanism that enables an application server to receive notifications from a ManagedConnection instance. The App server implements this class in order to listen to event notifications from ManagedConnection instance.
java.lang.Object

extended bycom.microfocus.cics.connector.spi.MFECIConnectionEventListener

All Implemented Interfaces

Serializable, EventListener, javax.resource.spi.ConnectionEventListener

Class Specifications

public class MFECIConnectionEventListener

extends Object

implements javax.resource.spi.ConnectionEventListener, Serializable

See Also:

Serialized Form

Constructor Summary

MFECIConnectionEventListener(javax.resource.spi.ManagedConnection mcon)
Create a connection event listener.

Methods

Method Summary
void connectionClosed (javax.resource.spi.ConnectionEvent event)

Send a connection closed event.

void connectionErrorOccurred((javax.resource.spi.ConnectionEvent event) event)

Send a connection error occurred event.

void localTransactionCommitted((javax.resource.spi.ConnectionEvent event) event)

Send a local transaction committed event.

void localTransactionRolledBack((javax.resource.spi.ConnectionEvent event) event)

Send a local transaction rolled back event.

void localTransactionStarted((javax.resource.spi.ConnectionEvent event) event)

Send a local transaction started event.

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

MFECIConnectionEventListener
public MFECIConnectionEventListener(javax.resource.spi.ManagedConnection mcon)

Create a connection event listener.

Parameters:
mcon MFECIManagedConnection instance

Method Detail

connectionClosed
void connectionClosed(javax.resource.spi.ConnectionEvent event)

Send a connection closed event.

Specified by:
connectionClosed in interface javax.resource.spi.ConnectionEventListener
Parameters:
event The connection event.
connectionErrorOccurred
void connectionErrorOccurred(javax.resource.spi.ConnectionEvent event)

Send a connection error occurred event.

Specified by:
connectionErrorOccurred in interface javax.resource.spi.ConnectionEventListener
Parameters:
event The connection event.
localTransactionCommitted
void localTransactionCommitted(javax.resource.spi.ConnectionEvent event)

Send a local transaction committed event.

Specified by:
localTransactionCommitted in interface javax.resource.spi.ConnectionEventListener
Parameters:
event The connection event.
localTransactionRolledBack
void localTransactionRolledBack(javax.resource.spi.ConnectionEvent event)

Send a local transaction rolled back event.

Specified by:
localTransactionRolledBack in interface javax.resource.spi.ConnectionEventListener
Parameters:
event The connection event.
localTransactionStarted
void localTransactionStarted(javax.resource.spi.ConnectionEvent event)

Send a local transaction started event.

Specified by:
localTransactionStarted in interface javax.resource.spi.ConnectionEventListener
Parameters:
event The connection event.
Previous Topic Next topic Print topic