afterAbort() afterAbort will be called after a transaction has been aborted.
The values of fields which get persisted will have changed to
what they were at the begining of the transaction.
public void
afterCommit() afterCommit is called only after a successful commit has taken
place.
public void
beforeAbort() beforeAbort is called before a transaction is aborted.
public void
beforeCommit() beforeCommit will give an object a chance to kill a
transaction before it is committed.
afterAbort will be called after a transaction has been aborted.
The values of fields which get persisted will have changed to
what they were at the begining of the transaction. This method
should be overridden to reset any transient or non-persistent
fields.
beforeCommit will give an object a chance to kill a
transaction before it is committed.
To kill a transaction, throw a new TransactionAbortedException.