Uses of Class
org.springframework.transaction.interceptor.RollbackRuleAttribute
Packages that use RollbackRuleAttribute Package Description org.springframework.transaction.interceptor AOP-based solution for declarative transaction demarcation.Uses of RollbackRuleAttribute in org.springframework.transaction.interceptor
Subclasses of RollbackRuleAttribute in org.springframework.transaction.interceptor Modifier and Type Class Description class
NoRollbackRuleAttribute
Tag subclass ofRollbackRuleAttribute
that has the opposite behavior to theRollbackRuleAttribute
superclass.Fields in org.springframework.transaction.interceptor declared as RollbackRuleAttribute Modifier and Type Field Description static RollbackRuleAttribute
RollbackRuleAttribute. ROLLBACK_ON_RUNTIME_EXCEPTIONS
Therollback rule
forRuntimeExceptions
.Methods in org.springframework.transaction.interceptor that return types with arguments of type RollbackRuleAttribute Modifier and Type Method Description List<RollbackRuleAttribute>
RuleBasedTransactionAttribute. getRollbackRules()
Return the list ofRollbackRuleAttribute
objects (nevernull
).Method parameters in org.springframework.transaction.interceptor with type arguments of type RollbackRuleAttribute Modifier and Type Method Description void
RuleBasedTransactionAttribute. setRollbackRules(List<RollbackRuleAttribute> rollbackRules)
Set the list ofRollbackRuleAttribute
objects (and/orNoRollbackRuleAttribute
objects) to apply.Constructor parameters in org.springframework.transaction.interceptor with type arguments of type RollbackRuleAttribute Constructor Description RuleBasedTransactionAttribute(int propagationBehavior, List<RollbackRuleAttribute> rollbackRules)
Create a new DefaultTransactionAttribute with the given propagation behavior.