|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionListener
TransactionListener
provides callbacks when a transaction
is committed.
Method Summary | |
---|---|
void |
afterCommit(TransactionResource resource,
String lockToken,
boolean success)
This method is called after the commit has been executed. |
void |
beforeCommit(TransactionResource resource,
String lockToken)
This method is called right before a transaction is committed. |
Method Detail |
---|
void beforeCommit(TransactionResource resource, String lockToken)
resource
- the transaction resource which will be committed.lockToken
- the lock tokenvoid afterCommit(TransactionResource resource, String lockToken, boolean success)
resource
- the transaction resource which had been committed.lockToken
- the lock token.success
- if the commit was successful.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |