public interface SynchronizationCallbackTarget
Synchronization
implementation
(RegisteredSynchronization
) which allows
it to listen for completion of the JTA transaction.
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(boolean successful,
boolean delayed)
Callback of after-completion.
|
void |
beforeCompletion()
Callback of before-completion.
|
boolean |
isActive()
Is the callback target still active?
|
boolean isActive()
beforeCompletion()
or afterCompletion(boolean, boolean)
true
indicates the target is active; false
indicates it is not.void beforeCompletion()
Synchronization.beforeCompletion()
void afterCompletion(boolean successful, boolean delayed)
successful
- Was the transaction successful?Synchronization.afterCompletion(int)
Copyright © 2024. All rights reserved.