Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.jts.os390
Class OS390SynchronizationListener

java.lang.Object
  extended byoracle.toplink.jts.AbstractSynchronizationListener
      extended byoracle.toplink.jts.JTSSynchronizationListener
          extended byoracle.toplink.jts.os390.OS390SynchronizationListener

All Implemented Interfaces:
javax.transaction.Synchronization

public class OS390SynchronizationListener
extends JTSSynchronizationListener

Purpose: Provides transaction callback mechanism Listener class

Description: This class is paired with OS390ExternalTransactionController. It contains the implementation logic to handle the synchronization callback notifications with respect to UnitOfWork - commiting changes to the database and merging clones into the parent Session.

Responsibilities:


Field Summary

Fields inherited from class oracle.toplink.jts.AbstractSynchronizationListener
dumpExceptionsFromCallbacks

Constructor Summary
OS390SynchronizationListener(oracle.toplink.publicinterface.UnitOfWork unitOfWork, oracle.toplink.publicinterface.Session session, java.lang.Object transaction)

Method Summary
void afterCompletion(int status)
PUBLIC: The afterCompletion method is called by the transaction manager after the transaction is committed or rolled back.

Methods inherited from class oracle.toplink.jts.JTSSynchronizationListener
setTransactionManager

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

Methods inherited from interface javax.transaction.Synchronization
beforeCompletion

Constructor Detail

OS390SynchronizationListener

public OS390SynchronizationListener(oracle.toplink.publicinterface.UnitOfWork unitOfWork,
                                    oracle.toplink.publicinterface.Session session,
                                    java.lang.Object transaction)

Method Detail

afterCompletion

public void afterCompletion(int status)
PUBLIC: The afterCompletion method is called by the transaction manager after the transaction is committed or rolled back. This method executes without a transaction context. It also releases the parent session (client session).
Specified by:
afterCompletion in interface javax.transaction.Synchronization
Overrides:
afterCompletion in class AbstractSynchronizationListener
Parameters:
status - The status of the transaction completion.

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.