TransactionalEventListener#phase(), TransactionalApplicationListener#getTransactionPhase(), TransactionalApplicationListener#forPayload(TransactionPhase, Consumer)
| Modifier and Type | Field and Description |
|---|---|
| public static final TransactionPhase | AFTER_COMMIT
Handle the event after the commit has completed successfully. |
| public static final TransactionPhase | AFTER_COMPLETION
Handle the event after the transaction has completed. |
| public static final TransactionPhase | AFTER_ROLLBACK
Handle the event if the transaction has rolled back. |
| public static final TransactionPhase | BEFORE_COMMIT
Handle the event before transaction commit. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TransactionPhase | |
| public static TransactionPhase[] |
| AFTER_COMMIT | back to summary |
|---|---|
| public static final TransactionPhase AFTER_COMMIT Handle the event after the commit has completed successfully. Note This is a specialization of Interactions with the underlying transactional resource will not be
committed in this phase. See
| |
| AFTER_COMPLETION | back to summary |
|---|---|
| public static final TransactionPhase AFTER_COMPLETION Handle the event after the transaction has completed. For more fine-grained events, use Interactions with the underlying transactional resource will not be
committed in this phase. See
| |
| AFTER_ROLLBACK | back to summary |
|---|---|
| public static final TransactionPhase AFTER_ROLLBACK Handle the event if the transaction has rolled back. Note This is a specialization of Interactions with the underlying transactional resource will not be
committed in this phase. See
| |
| BEFORE_COMMIT | back to summary |
|---|---|
| public static final TransactionPhase BEFORE_COMMIT Handle the event before transaction commit. | |
| TransactionPhase | back to summary |
|---|---|
| private TransactionPhase() | |
| valueOf | back to summary |
|---|---|
| public static TransactionPhase valueOf(String name) | |
| values | back to summary |
|---|---|
| public static TransactionPhase[] values() | |