Interface TransactionObserver
-
public interface TransactionObserverObserver of internal transaction events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterBegin()Callback for processing the beginning of a transaction.voidafterCompletion(boolean successful, boolean delayed)Callback for processing the last phase of transaction completion.voidbeforeCompletion()Callback for processing the initial phase of transaction completion.
-
-
-
Method Detail
-
afterBegin
void afterBegin()
Callback for processing the beginning of a transaction. Do not rely on this being called as the transaction may be started in a manner other than through theTransactionAPI.
-
beforeCompletion
void beforeCompletion()
Callback for processing the initial phase of transaction completion.
-
afterCompletion
void afterCompletion(boolean successful, boolean delayed)Callback for processing the last phase of transaction completion.- Parameters:
successful- Was the transaction successful?
-
-