Oracle TopLink API Reference
10g Release 3 (10.1.3)

B13698-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

Deprecated. since OracleAS TopLink 10g (10.1.3). This class is replaced by JTASynchronizationListener

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(UnitOfWork unitOfWork, Session session, java.lang.Object transaction)
          Deprecated.  

 

Method Summary
 void afterCompletion(int status)
          Deprecated. 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(UnitOfWork unitOfWork,
                                    Session session,
                                    java.lang.Object transaction)
Deprecated. 

Method Detail

afterCompletion

public void afterCompletion(int status)
Deprecated. 
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, 2006, Oracle. All Rights Reserved.