Package org.springframework.transaction.annotation
@NonNullApi
@NonNullFields
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
@Configuration
class providing common structure for enabling Spring's annotation-driven transaction management capability.Implementation of theTransactionAttributeSource
interface for working with transaction metadata from annotations.Strategy implementation for parsing EJB3'sTransactionAttribute
annotation.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@Transactional
annotation, corresponding to theTransactionDefinition
interface.Strategy implementation for parsing JTA 1.2'sTransactional
annotation.Enumeration that represents transaction propagation behaviors for use with theTransactional
annotation, corresponding to theTransactionDefinition
interface.@Configuration
class 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:Transactional
only supported withPropagation.REQUIRES_NEW
andPropagation.NOT_SUPPORTED
.An enum for global rollback-on behavior.Strategy implementation for parsing Spring'sTransactional
annotation.Describes a transaction attribute on an individual method or on a class.Strategy interface for parsing known transaction annotation types.Selects which implementation ofAbstractTransactionManagementConfiguration
should be used based on the value ofEnableTransactionManagement.mode()
on the importing@Configuration
class.Interface to be implemented by @Configuration
classes annotated with @EnableTransactionManagement
that wish to (or need to) explicitly specify the defaultPlatformTransactionManager
bean (orReactiveTransactionManager
bean) to be used for annotation-driven transaction management, as opposed to the default approach of a by-type lookup.