|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.jts.AbstractSynchronizationListener
Purpose: Abstract Synchronization Listener class Description: This abstract class is paired with AbstractExternalTransactionController. 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. It also provides two abstract methods that must be overridden in any sub-class. The wasTransactionCommited(int) method contains the logic that checks the return status code from the afterCompletion method. Different implementations of OTS/JTS have different returns codes, so this logic must be 'pluggable'. The other method is rollbackGlobalTransaction() which (again) must be overridden to deal with the various different ways to refer to the external global 'Transaction' object and the calls to roll it back. Responsibilities:
Field Summary | |
static boolean |
dumpExceptionsFromCallbacks Put in this flag so that if an app server swallows the exception from beforeCompletion or afterCompletion we can dump it out anyway. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static boolean dumpExceptionsFromCallbacks
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |