Package | Description |
---|---|
org.springframework.transaction.interceptor |
AOP-based solution for declarative transaction demarcation.
|
Modifier and Type | Class and Description |
---|---|
class |
NoRollbackRuleAttribute
Tag subclass of
RollbackRuleAttribute that has the opposite behavior
to the RollbackRuleAttribute superclass. |
Modifier and Type | Field and Description |
---|---|
static RollbackRuleAttribute |
RollbackRuleAttribute.ROLLBACK_ON_RUNTIME_EXCEPTIONS
The rollback rule for
RuntimeExceptions . |
Modifier and Type | Method and Description |
---|---|
List<RollbackRuleAttribute> |
RuleBasedTransactionAttribute.getRollbackRules()
Return the list of
RollbackRuleAttribute objects
(never null ). |
Modifier and Type | Method and Description |
---|---|
void |
RuleBasedTransactionAttribute.setRollbackRules(List<RollbackRuleAttribute> rollbackRules)
Set the list of
RollbackRuleAttribute objects
(and/or NoRollbackRuleAttribute objects) to apply. |
Constructor and Description |
---|
RuleBasedTransactionAttribute(int propagationBehavior,
List<RollbackRuleAttribute> rollbackRules)
Create a new DefaultTransactionAttribute with the given
propagation behavior.
|