oracle.toplink.jts.wls
Class WebLogicSynchronizationListener

oracle.toplink.jts.JTSSynchronizationListener
  |
  +--oracle.toplink.jts.wls.WebLogicSynchronizationListener

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:


Constructor Summary
WebLogicSynchronizationListener(UnitOfWork unitOfWork, Session session, java.lang.Object transaction)
           
 
Method Summary
TypeMethod
 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
 

Constructor Detail

WebLogicSynchronizationListener

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