|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.arsdigita.persistence.AbstractTransactionListener
AbstractTransactionListener is a default implementation of TransactionListener. Callback methods do nothing by default and
are intended to be selectively overridden in order to add the
desired behavior.
TransactionContext,
TransactionListener| Field Summary | |
static String |
versionId
|
| Constructor Summary | |
AbstractTransactionListener()
|
|
| Method Summary | |
void |
afterAbort(TransactionContext txn)
Called immediately after the transaction has aborted |
void |
afterCommit(TransactionContext txn)
Called immediately after the transaction has committed |
void |
beforeAbort(TransactionContext txn)
Called immediately before the transaction has aborted |
void |
beforeCommit(TransactionContext txn)
Called immediately before the transaction has committed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String versionId
| Constructor Detail |
public AbstractTransactionListener()
| Method Detail |
public void beforeCommit(TransactionContext txn)
beforeCommit in interface TransactionListenerpublic void afterCommit(TransactionContext txn)
afterCommit in interface TransactionListenerpublic void beforeAbort(TransactionContext txn)
beforeAbort in interface TransactionListenerpublic void afterAbort(TransactionContext txn)
afterAbort in interface TransactionListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||