oracle.toplink.jts.os390
Class OS390SynchronizationListener
oracle.toplink.jts.JTSSynchronizationListener
|
+--oracle.toplink.jts.os390.OS390SynchronizationListener
- 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:
- Handle the synchronization callback notifications
- Provide methods to handle Transaction
| Type | Method |
void |
afterCompletion(int status)
PUBLIC:
The afterCompletion method is called by the transaction manager after the transaction is
committed or rolled back. |
OS390SynchronizationListener
public OS390SynchronizationListener(UnitOfWork unitOfWork,
Session session,
java.lang.Object transaction)
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).