That's a mouthful :) The way it works is like this...
jakarta.transaction.Synchronization implementation
(RegisteredSynchronization) which allows
it to listen for completion of the JTA transaction.
| Modifier and Type | Method and Description |
|---|---|
| public void | afterCompletion(boolean
Was the transaction successful? successful, boolean delayed)Callback of after-completion. |
| public void | |
| public boolean | Returns: true indicates the target is active; false indicates it is not.Is the callback target still active? |
| afterCompletion | back to summary |
|---|---|
| public void afterCompletion(boolean successful, boolean delayed) Callback of after-completion.
| |
| beforeCompletion | back to summary |
|---|---|
| public void beforeCompletion() Callback of before-completion. | |
| isActive | back to summary |
|---|---|
| public boolean isActive() Is the callback target still active? Generally this is checked by the caller prior to calling
| |