Top Description Fields Constructors Methods
org.springframework.transaction.annotation

public abstract Class AbstractTransactionManagementConfiguration

extends Object
implements ImportAware
Class Inheritance
All Implemented Interfaces
org.springframework.context.annotation.ImportAware, org.springframework.beans.factory.Aware
Known Direct Subclasses
org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration
Annotations
@Configuration
Imports
java.util.Collection, org.springframework.beans.factory.annotation.Autowired, org.springframework.beans.factory.config.BeanDefinition, org.springframework.context.annotation.Bean, .Configuration, .ImportAware, .Role, org.springframework.core.annotation.AnnotationAttributes, org.springframework.core.type.AnnotationMetadata, org.springframework.lang.Nullable, org.springframework.transaction.TransactionManager, org.springframework.transaction.config.TransactionManagementConfigUtils, org.springframework.transaction.event.TransactionalEventListenerFactory, org.springframework.util.CollectionUtils

Abstract base @Configuration class providing common structure for enabling Spring's annotation-driven transaction management capability.
Authors
Chris Beams, Stephane Nicoll
Since
3.1
See Also
EnableTransactionManagement

Field Summary

Modifier and TypeField and Description
protected AnnotationAttributes
protected TransactionManager
txManager

Default transaction manager, as configured through a TransactionManagementConfigurer.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv void
public void
setImportMetadata(AnnotationMetadata importMetadata)

Implements org.springframework.context.annotation.ImportAware.setImportMetadata.

Set the annotation metadata of the importing @Configuration class.
public static TransactionalEventListenerFactory
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

enableTxback to summary
protected AnnotationAttributes enableTx
Annotations
@Nullable
txManagerback to summary
protected TransactionManager txManager

Default transaction manager, as configured through a TransactionManagementConfigurer.

Annotations
@Nullable

Constructor Detail

AbstractTransactionManagementConfigurationback to summary
public AbstractTransactionManagementConfiguration()

Method Detail

setConfigurersback to summary
pack-priv void setConfigurers(Collection<TransactionManagementConfigurer> configurers)
Annotations
@Autowired
required:false
setImportMetadataback to summary
public void setImportMetadata(AnnotationMetadata importMetadata)

Implements org.springframework.context.annotation.ImportAware.setImportMetadata.

Doc from org.springframework.context.annotation.ImportAware.setImportMetadata.

Set the annotation metadata of the importing @Configuration class.

Annotations
@Override
transactionalEventListenerFactoryback to summary
public static TransactionalEventListenerFactory transactionalEventListenerFactory()
Annotations
@Bean
name:org.springframework.transaction.config.internalTransactionalEventListenerFactory
@Role:2