public interface TransactionObserver
Observer of internal transaction events.
Modifier and Type | Method and Description |
---|---|
void |
afterBegin()
Callback for processing the beginning of a transaction.
|
void |
afterCompletion(boolean successful,
boolean delayed)
Callback for processing the last phase of transaction completion.
|
void |
beforeCompletion()
Callback for processing the initial phase of transaction completion.
|
void afterBegin()
Callback for processing the beginning of a transaction.
<p/>
Do not rely on this being called as the transaction mat be started in a manner other than through the
Transaction
API.
void beforeCompletion()
Callback for processing the initial phase of transaction completion.
void afterCompletion(boolean successful, boolean delayed)
Callback for processing the last phase of transaction completion.
successful
- Was the transaction successful?Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.