程序包 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 @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.类概要 类 说明 AbstractTransactionManagementConfiguration Abstract base@Configurationclass providing common structure for enabling Spring's annotation-driven transaction management capability.AnnotationTransactionAttributeSource Implementation of theTransactionAttributeSourceinterface for working with transaction metadata in JDK 1.5+ annotation format.Ejb3TransactionAnnotationParser Strategy implementation for parsing EJB3'sTransactionAttributeannotation.JtaTransactionAnnotationParser Strategy implementation for parsing JTA 1.2'sTransactionalannotation.ProxyTransactionManagementConfiguration @Configurationclass that registers the Spring infrastructure beans necessary to enable proxy-based annotation-driven transaction management.SpringTransactionAnnotationParser Strategy implementation for parsing Spring'sTransactionalannotation.TransactionManagementConfigurationSelector Selects which implementation ofAbstractTransactionManagementConfigurationshould be used based on the value ofEnableTransactionManagement.mode()on the importing@Configurationclass.枚举概要 枚举 说明 Isolation Enumeration that represents transaction isolation levels for use with theTransactionalannotation, corresponding to theTransactionDefinitioninterface.Propagation Enumeration that represents transaction propagation behaviors for use with theTransactionalannotation, corresponding to theTransactionDefinitioninterface.注释类型概要 注释类型 说明 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.