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? Generally this is checked by the caller prior to calling
beforeCompletion() or afterCompletion(boolean, boolean) |
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 © 2001-2018 Red Hat, Inc. All Rights Reserved.