Uses of Class
org.springframework.transaction.interceptor.RollbackRuleAttribute
Package
Description
AOP-based solution for declarative transaction demarcation.
-
Uses of RollbackRuleAttribute in org.springframework.transaction.interceptor
Modifier and TypeClassDescriptionclass
Tag subclass ofRollbackRuleAttribute
that has the opposite behavior to theRollbackRuleAttribute
superclass.Modifier and TypeFieldDescriptionstatic final RollbackRuleAttribute
RollbackRuleAttribute.ROLLBACK_ON_RUNTIME_EXCEPTIONS
Therollback rule
forRuntimeExceptions
.Modifier and TypeMethodDescriptionRuleBasedTransactionAttribute.getRollbackRules()
Return the list ofRollbackRuleAttribute
objects (nevernull
).Modifier and TypeMethodDescriptionvoid
RuleBasedTransactionAttribute.setRollbackRules
(List<RollbackRuleAttribute> rollbackRules) Set the list ofRollbackRuleAttribute
objects (and/orNoRollbackRuleAttribute
objects) to apply.ModifierConstructorDescriptionRuleBasedTransactionAttribute
(int propagationBehavior, List<RollbackRuleAttribute> rollbackRules) Create a new DefaultTransactionAttribute with the given propagation behavior.