|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Synchronization
This is the interface that all synchronization participants must define.
Method Summary | |
---|---|
void |
afterCompletion(int status)
The transaction that the instance is enrolled with has completed and the state in which is completed is passed as a parameter. |
void |
beforeCompletion()
The transaction that the instance is enrolled with is about to commit. |
Method Detail |
---|
void beforeCompletion() throws SystemException
SystemException
- Thrown if any error occurs. This will cause
the transaction to roll back.void afterCompletion(int status) throws SystemException
status
- The state in which the transaction completed.
SystemException
- Thrown if any error occurs. This has no
affect on the outcome of the transaction.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |