Class AspectJJtaTransactionManagementConfiguration
java.lang.Object
org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
org.springframework.transaction.aspectj.AspectJTransactionManagementConfiguration
org.springframework.transaction.aspectj.AspectJJtaTransactionManagementConfiguration
- All Implemented Interfaces:
Aware
,ImportAware
@Configuration(proxyBeanMethods=false)
@Role(2)
public class AspectJJtaTransactionManagementConfiguration
extends AspectJTransactionManagementConfiguration
@Configuration
class that registers the Spring infrastructure beans necessary
to enable AspectJ-based annotation-driven transaction management for the JTA 1.2
Transactional
annotation in addition to Spring's own
Transactional
annotation.- Since:
- 5.1
- Author:
- Juergen Hoeller
- See Also:
-
Field Summary
Fields inherited from class org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
enableTx, txManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.transaction.aspectj.JtaAnnotationTransactionAspect
jtaTransactionAspect
(TransactionAttributeSource transactionAttributeSource) Methods inherited from class org.springframework.transaction.aspectj.AspectJTransactionManagementConfiguration
transactionAspect
Methods inherited from class org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
setImportMetadata, transactionalEventListenerFactory, transactionAttributeSource
-
Constructor Details
-
AspectJJtaTransactionManagementConfiguration
public AspectJJtaTransactionManagementConfiguration()
-
-
Method Details
-
jtaTransactionAspect
@Bean(name="org.springframework.transaction.config.internalJtaTransactionAspect") @Role(2) public org.springframework.transaction.aspectj.JtaAnnotationTransactionAspect jtaTransactionAspect(TransactionAttributeSource transactionAttributeSource)
-