Oracle TopLink API Reference
10g Release 3 (10.1.3)

B13698-01


oracle.toplink.jts.wls
Class WebLogicSynchronizationListener

java.lang.Object
  extended byoracle.toplink.jts.AbstractSynchronizationListener
      extended byoracle.toplink.jts.JTSSynchronizationListener
          extended byoracle.toplink.jts.wls.WebLogicSynchronizationListener

All Implemented Interfaces:
javax.transaction.Synchronization

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

public class WebLogicSynchronizationListener
extends JTSSynchronizationListener

Purpose: Provides transaction callback mechanism Listener class

Description: This class is paired with WebLogicJTSExternalTransactionController. 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
WebLogicSynchronizationListener(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

WebLogicSynchronizationListener

public WebLogicSynchronizationListener(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.
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.