Package org.springframework.transaction.annotation
@NullMarked
package org.springframework.transaction.annotation
Spring's support for annotation-based transaction demarcation.
Hooked into Spring's transaction interception infrastructure
via a special TransactionAttributeSource implementation.
-
ClassDescriptionAbstract base
@Configurationclass providing common structure for enabling Spring's annotation-driven transaction management capability.Implementation of theTransactionAttributeSourceinterface for working with transaction metadata from annotations.Strategy implementation for parsing EJB3'sTransactionAttributeannotation.Enables Spring's annotation-driven transaction management capability, similar to the support found in Spring's<tx:*>XML namespace.Enumeration that represents transaction isolation levels for use with the@Transactionalannotation, corresponding to theTransactionDefinitioninterface.Strategy implementation for parsing JTA 1.2'sTransactionalannotation.Enumeration that represents transaction propagation behaviors for use with theTransactionalannotation, corresponding to theTransactionDefinitioninterface.@Configurationclass that registers the Spring infrastructure beans necessary to enable proxy-based annotation-driven transaction management.Extension ofTransactionalEventListenerFactory, detecting invalid transaction configuration for transactional event listeners:Transactionalonly supported withPropagation.REQUIRES_NEWandPropagation.NOT_SUPPORTED.An enum for global rollback-on behavior.Strategy implementation for parsing Spring'sTransactionalannotation.Describes a transaction attribute on an individual method or on a class.Strategy interface for parsing known transaction annotation types.Selects which implementation ofAbstractTransactionManagementConfigurationshould be used based on the value ofEnableTransactionManagement.mode()on the importing@Configurationclass.Interface to be implemented by @Configurationclasses annotated with @EnableTransactionManagementthat wish to (or need to) explicitly specify the defaultPlatformTransactionManagerbean (orReactiveTransactionManagerbean) to be used for annotation-driven transaction management, as opposed to the default approach of a by-type lookup.