Class AbstractTransactionManagementConfiguration
java.lang.Object
org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
- All Implemented Interfaces:
- Aware,- ImportAware
- Direct Known Subclasses:
- AspectJTransactionManagementConfiguration,- ProxyTransactionManagementConfiguration
@Configuration
public abstract class AbstractTransactionManagementConfiguration
extends Object
implements ImportAware
Abstract base 
@Configuration class providing common structure for enabling
 Spring's annotation-driven transaction management capability.- Since:
- 3.1
- Author:
- Chris Beams, Stephane Nicoll, Juergen Hoeller
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected @Nullable AnnotationAttributesprotected @Nullable TransactionManagerDefault transaction manager, as configured through aTransactionManagementConfigurer.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetImportMetadata(AnnotationMetadata importMetadata) Set the annotation metadata of the importing @Configurationclass.
- 
Field Details- 
enableTx
- 
txManagerDefault transaction manager, as configured through aTransactionManagementConfigurer.
 
- 
- 
Constructor Details- 
AbstractTransactionManagementConfigurationpublic AbstractTransactionManagementConfiguration()
 
- 
- 
Method Details- 
setImportMetadataDescription copied from interface:ImportAwareSet the annotation metadata of the importing @Configurationclass.- Specified by:
- setImportMetadatain interface- ImportAware
 
- 
transactionAttributeSource
- 
transactionalEventListenerFactory@Bean(name="org.springframework.transaction.config.internalTransactionalEventListenerFactory") @Role(2) public static TransactionalEventListenerFactory transactionalEventListenerFactory()
 
-