Class AspectJTransactionManagementConfiguration
java.lang.Object
org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
org.springframework.transaction.aspectj.AspectJTransactionManagementConfiguration
- All Implemented Interfaces:
Aware, ImportAware
- Direct Known Subclasses:
AspectJJtaTransactionManagementConfiguration
@Configuration(proxyBeanMethods=false)
@Role(2)
public class AspectJTransactionManagementConfiguration
extends 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:
-
Field Summary
Fields inherited from class AbstractTransactionManagementConfiguration
enableTx, txManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.transaction.aspectj.AnnotationTransactionAspecttransactionAspect(TransactionAttributeSource transactionAttributeSource) Methods inherited from class 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(TransactionAttributeSource transactionAttributeSource)
-