程序包 org.springframework.transaction.annotation
Spring's support for annotation-based transaction demarcation. Hooked into Spring's transaction interception infrastructure via a special TransactionAttributeSource implementation.
接口概要 接口 说明 TransactionAnnotationParser Strategy interface for parsing known transaction annotation types.TransactionManagementConfigurer 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.类概要 类 说明 AbstractTransactionManagementConfiguration Abstract base@Configuration
class providing common structure for enabling Spring's annotation-driven transaction management capability.AnnotationTransactionAttributeSource Implementation of theTransactionAttributeSource
interface for working with transaction metadata in JDK 1.5+ annotation format.Ejb3TransactionAnnotationParser Strategy implementation for parsing EJB3'sTransactionAttribute
annotation.JtaTransactionAnnotationParser Strategy implementation for parsing JTA 1.2'sTransactional
annotation.ProxyTransactionManagementConfiguration @Configuration
class that registers the Spring infrastructure beans necessary to enable proxy-based annotation-driven transaction management.SpringTransactionAnnotationParser Strategy implementation for parsing Spring'sTransactional
annotation.TransactionManagementConfigurationSelector Selects which implementation ofAbstractTransactionManagementConfiguration
should be used based on the value ofEnableTransactionManagement.mode()
on the importing@Configuration
class.枚举概要 枚举 说明 Isolation Enumeration that represents transaction isolation levels for use with theTransactional
annotation, corresponding to theTransactionDefinition
interface.Propagation Enumeration that represents transaction propagation behaviors for use with theTransactional
annotation, corresponding to theTransactionDefinition
interface.注释类型概要 注释类型 说明 EnableTransactionManagement Enables Spring's annotation-driven transaction management capability, similar to the support found in Spring's<tx:*>
XML namespace.Transactional Describes a transaction attribute on an individual method or on a class.