Class AspectJTransactionManagementConfiguration
java.lang.Object
org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
org.springframework.transaction.aspectj.AspectJTransactionManagementConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.annotation.ImportAware
- Direct Known Subclasses:
AspectJJtaTransactionManagementConfiguration
@Configuration(proxyBeanMethods=false)
@Role(2)
public class AspectJTransactionManagementConfiguration
extends org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
@Configuration class that registers the Spring infrastructure beans necessary
to enable AspectJ-based annotation-driven transaction management for Spring's own
Transactional annotation.- Since:
- 3.1
- Author:
- Chris Beams, Juergen Hoeller
- See Also:
-
EnableTransactionManagementTransactionManagementConfigurationSelectorAspectJJtaTransactionManagementConfiguration
-
Field Summary
Fields inherited from class org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
enableTx, txManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.transaction.aspectj.AnnotationTransactionAspecttransactionAspect(org.springframework.transaction.interceptor.TransactionAttributeSource transactionAttributeSource) Methods inherited from class org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
setImportMetadata, transactionalEventListenerFactory, transactionAttributeSource
-
Constructor Details
-
AspectJTransactionManagementConfiguration
public AspectJTransactionManagementConfiguration()
-
-
Method Details
-
transactionAspect
@Bean(name="org.springframework.transaction.config.internalTransactionAspect") @Role(2) public org.springframework.transaction.aspectj.AnnotationTransactionAspect transactionAspect(org.springframework.transaction.interceptor.TransactionAttributeSource transactionAttributeSource)
-