|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the callback interface that has to be implemented by objects
interested in receiving notification before and after a transaction
commits or rolls back.
An interested party can give an instance implementing this interface
as an argument to the
Transaction.registerSynchronization
method to receive callbacks before and after a transaction commits or
rolls back.
Method Summary | |
void |
afterCompletion(int status)
This method is invoked after the transaction has committed or rolled back. |
void |
beforeCompletion()
This method is invoked before the start of the commit process. |
Method Detail |
public void beforeCompletion()
public void afterCompletion(int status)
status
- The status of the completed transaction.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |