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 @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.2Transactional
annotation in addition to Spring's ownTransactional
annotation.- Since:
- 5.1
- Author:
- Juergen Hoeller
- See Also:
EnableTransactionManagement
,TransactionManagementConfigurationSelector
Field Summary
Fields inherited from class org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
enableTx, txManager
Constructor Summary
Constructors Constructor Description AspectJJtaTransactionManagementConfiguration()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.transaction.aspectj.JtaAnnotationTransactionAspect
jtaTransactionAspect()
Methods inherited from class org.springframework.transaction.aspectj.AspectJTransactionManagementConfiguration
transactionAspect
Methods inherited from class org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
setImportMetadata, transactionalEventListenerFactory
Constructor Detail
AspectJJtaTransactionManagementConfiguration
public AspectJJtaTransactionManagementConfiguration()
Method Detail
jtaTransactionAspect
@Bean(name="org.springframework.transaction.config.internalJtaTransactionAspect") @Role(2) public org.springframework.transaction.aspectj.JtaAnnotationTransactionAspect jtaTransactionAspect()