Class AbstractTransactionManagementConfiguration
java.lang.Object
org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.annotation.ImportAware
- Direct Known Subclasses:
ProxyTransactionManagementConfiguration
@Configuration
public abstract class AbstractTransactionManagementConfiguration
extends Object
implements org.springframework.context.annotation.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 org.springframework.core.annotation.AnnotationAttributes
protected TransactionManager
Default transaction manager, as configured through aTransactionManagementConfigurer
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setImportMetadata
(org.springframework.core.type.AnnotationMetadata importMetadata)
-
Field Details
-
enableTx
@Nullable protected org.springframework.core.annotation.AnnotationAttributes enableTx -
txManager
Default transaction manager, as configured through aTransactionManagementConfigurer
.
-
-
Constructor Details
-
AbstractTransactionManagementConfiguration
public AbstractTransactionManagementConfiguration()
-
-
Method Details
-
setImportMetadata
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) - Specified by:
setImportMetadata
in interfaceorg.springframework.context.annotation.ImportAware
-
transactionalEventListenerFactory
@Bean(name="org.springframework.transaction.config.internalTransactionalEventListenerFactory") @Role(2) public static TransactionalEventListenerFactory transactionalEventListenerFactory()
-