Uses of Class
org.springframework.transaction.interceptor.RollbackRuleAttribute
Packages that use RollbackRuleAttribute
Package
Description
Spring's support for annotation-based transaction demarcation.
AOP-based solution for declarative transaction demarcation.
-
Uses of RollbackRuleAttribute in org.springframework.transaction.annotation
Methods in org.springframework.transaction.annotation with parameters of type RollbackRuleAttributeModifier and TypeMethodDescriptionvoid
AnnotationTransactionAttributeSource.addDefaultRollbackRule
(RollbackRuleAttribute rollbackRule) Add a default rollback rule, to be applied to all rule-based transaction attributes returned by this source. -
Uses of RollbackRuleAttribute in org.springframework.transaction.interceptor
Subclasses of RollbackRuleAttribute in org.springframework.transaction.interceptorModifier and TypeClassDescriptionclass
Tag subclass ofRollbackRuleAttribute
that has the opposite behavior to theRollbackRuleAttribute
superclass.Fields in org.springframework.transaction.interceptor declared as RollbackRuleAttributeModifier and TypeFieldDescriptionstatic final RollbackRuleAttribute
RollbackRuleAttribute.ROLLBACK_ON_ALL_EXCEPTIONS
The rollback rule for allExceptions
, including checked exceptions.static final RollbackRuleAttribute
RollbackRuleAttribute.ROLLBACK_ON_RUNTIME_EXCEPTIONS
The rollback rule forRuntimeExceptions
.Methods in org.springframework.transaction.interceptor that return types with arguments of type RollbackRuleAttributeModifier and TypeMethodDescriptionRuleBasedTransactionAttribute.getRollbackRules()
Return the list ofRollbackRuleAttribute
objects (nevernull
).Method parameters in org.springframework.transaction.interceptor with type arguments of type RollbackRuleAttributeModifier and TypeMethodDescriptionvoid
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 RollbackRuleAttributeModifierConstructorDescriptionRuleBasedTransactionAttribute
(int propagationBehavior, List<RollbackRuleAttribute> rollbackRules) Create a new DefaultTransactionAttribute with the given propagation behavior.