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
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected AnnotationAttributes
protected TransactionManager
Default transaction manager, as configured through aTransactionManagementConfigurer
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setImportMetadata
(AnnotationMetadata importMetadata) Set the annotation metadata of the importing @Configuration
class.
-
Field Details
-
enableTx
-
txManager
Default transaction manager, as configured through aTransactionManagementConfigurer
.
-
-
Constructor Details
-
AbstractTransactionManagementConfiguration
public AbstractTransactionManagementConfiguration()
-
-
Method Details
-
setImportMetadata
Description copied from interface:ImportAware
Set the annotation metadata of the importing @Configuration
class.- Specified by:
setImportMetadata
in interfaceImportAware
-
transactionalEventListenerFactory
@Bean(name="org.springframework.transaction.config.internalTransactionalEventListenerFactory") @Role(2) public static TransactionalEventListenerFactory transactionalEventListenerFactory()
-