Interface | Description |
---|---|
CompensationHandler |
Implementation of compensation handler logic, to be used in the case where work annotated with
org.jboss.narayana.compensations.api.TxCompensate requires compensation.
|
CompensationManager |
Management interface for interacting with the compensation-based transaction.
|
ConfirmationHandler |
Implementation of confirmation handler logic, to be used to notify work annotated with
org.jboss.narayana.compensations.api.TxConfirm that the transaction completed successfully.
|
TransactionLoggedHandler |
Provides a call-back handler, invoked after the transaction manager logs the confirmation and compensation handlers.
|
Class | Description |
---|---|
DefaultTxCompensateHandler | |
DefaultTxConfirmHandler | |
DefaultTxLoggedHandler |
Enum | Description |
---|---|
CompensationTransactionType |
Indicates whether a bean method is to be
executed within a transaction context where the values provide the following
corresponding behavior.
|
Exception | Description |
---|---|
CompensationTransactionRuntimeException |
General RuntimeException used when something unexpected goes wrong.
|
InvalidTransactionException | |
NoTransactionException |
Indicates that a compensation-based transaction was not active when the operation was attempted, despite being required.
|
TransactionalException | |
TransactionCompensatedException |
Indicates that the compensation-based transaction needed to be compensated, despite being requested to close.
|
TransactionRequiredException |
Annotation Type | Description |
---|---|
CancelOnFailure |
When applied at method level, states that the compensation-based transaction must cancel, if a RuntimeException
(or subclass of) is thrown from that particular method.
|
Compensatable |
The org.jboss.narayana.compensations.api.Compensatable annotation provides the application
the ability to declaratively control compensation transaction boundaries on CDI managed beans, as
well as classes defined as managed beans by the Java EE specification, at both the class
and method level where method level annotations override those at the class level.
|
CompensationScoped |
Annotation used to indicate a bean is to be scoped to the current active
compensation-based transaction.
|
TxCompensate |
Provides a callback handler for compensating any work done within this annotated method (or all methods of the class
when annotated at the class level).
|
TxConfirm |
Provides a callback handler for confirming any work done within this annotated method (or all methods of the class
when annotated at the class level).
|
TxLogged |
Provides a callback handler for confirming that the transaction log has been written.
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.