rollbackOn specification to TransactionDefinition.
As custom rollbackOn is only possible with AOP, it resides in the AOP-related
transaction subpackage.
DefaultTransactionAttribute, RuleBasedTransactionAttribute
| Modifier and Type | Method and Description |
|---|---|
| public Collection | |
| public String | |
| public boolean | Returns: whether to perform a rollback or notthe exception to evaluate ex)Should we roll back on the given exception? |
| getLabels | back to summary |
|---|---|
| public Collection Return labels associated with this transaction attribute. This may be used for applying specific transactional behavior or follow a purely descriptive nature.
| |
| getQualifier | back to summary |
|---|---|
| public String getQualifier() Return a qualifier value associated with this transaction attribute. This may be used for choosing a corresponding transaction manager to process this specific transaction.
| |
| rollbackOn | back to summary |
|---|---|
| public boolean rollbackOn(Throwable ex) Should we roll back on the given exception?
| |