|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionDelegate
Defines callback methods for tracking and customizing Transactions execution.
Method Summary | |
---|---|
void |
didCommit(Transaction transaction)
Called after a Transaction commit. |
void |
didRollback(Transaction transaction)
Called after a Transaction is rolledback. |
boolean |
willAddConnection(Transaction transaction,
java.sql.Connection connection)
Called within a context of a Transaction when a new JDBC onnection is added to the the transaction. |
boolean |
willCommit(Transaction transaction)
Called within a context of a Transaction before the transaction is committed. |
boolean |
willMarkAsRollbackOnly(Transaction transaction)
Called within a context of a Transaction before transaction is marked as "rollback only", meaning that further commit is not possible. |
boolean |
willRollback(Transaction transaction)
Called within a context of a Transaction before the transaction is rolledback. |
Method Detail |
---|
boolean willCommit(Transaction transaction)
false
.
boolean willMarkAsRollbackOnly(Transaction transaction)
false
.
boolean willRollback(Transaction transaction)
false
.
void didCommit(Transaction transaction)
void didRollback(Transaction transaction)
boolean willAddConnection(Transaction transaction, java.sql.Connection connection)
false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |