Class ProxyTransactionManagementConfiguration
java.lang.Object
org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration
- All Implemented Interfaces:
Aware
,ImportAware
@Configuration(proxyBeanMethods=false)
@Role(2)
@ImportRuntimeHints(org.springframework.transaction.annotation.TransactionRuntimeHints.class)
public class ProxyTransactionManagementConfiguration
extends AbstractTransactionManagementConfiguration
@Configuration
class that registers the Spring infrastructure beans
necessary to enable proxy-based annotation-driven transaction management.- Since:
- 3.1
- Author:
- Chris Beams, Sebastien Deleuze
- See Also:
-
Field Summary
Fields inherited from class org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
enableTx, txManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontransactionAdvisor
(TransactionAttributeSource transactionAttributeSource, TransactionInterceptor transactionInterceptor) transactionInterceptor
(TransactionAttributeSource transactionAttributeSource) Methods inherited from class org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
setImportMetadata, transactionalEventListenerFactory, transactionAttributeSource
-
Constructor Details
-
ProxyTransactionManagementConfiguration
public ProxyTransactionManagementConfiguration()
-
-
Method Details
-
transactionAdvisor
@Bean(name="org.springframework.transaction.config.internalTransactionAdvisor") @Role(2) public BeanFactoryTransactionAttributeSourceAdvisor transactionAdvisor(TransactionAttributeSource transactionAttributeSource, TransactionInterceptor transactionInterceptor) -
transactionInterceptor
@Bean @Role(2) public TransactionInterceptor transactionInterceptor(TransactionAttributeSource transactionAttributeSource)
-