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 TypeMethodDescriptionvoidAnnotationTransactionAttributeSource.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 TypeClassDescriptionclassTag subclass ofRollbackRuleAttributethat has the opposite behavior to theRollbackRuleAttributesuperclass.Fields in org.springframework.transaction.interceptor declared as RollbackRuleAttributeModifier and TypeFieldDescriptionstatic final RollbackRuleAttributeRollbackRuleAttribute.ROLLBACK_ON_ALL_EXCEPTIONSThe rollback rule for allExceptions, including checked exceptions.static final RollbackRuleAttributeRollbackRuleAttribute.ROLLBACK_ON_RUNTIME_EXCEPTIONSThe rollback rule forRuntimeExceptions.Methods in org.springframework.transaction.interceptor that return types with arguments of type RollbackRuleAttributeModifier and TypeMethodDescriptionRuleBasedTransactionAttribute.getRollbackRules()Return the list ofRollbackRuleAttributeobjects (nevernull).Method parameters in org.springframework.transaction.interceptor with type arguments of type RollbackRuleAttributeModifier and TypeMethodDescriptionvoidRuleBasedTransactionAttribute.setRollbackRules(List<RollbackRuleAttribute> rollbackRules) Set the list ofRollbackRuleAttributeobjects (and/orNoRollbackRuleAttributeobjects) 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.