类 ProxyTransactionManagementConfiguration
- java.lang.Object
- org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
- org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration
- 所有已实现的接口:
Aware
,ImportAware
@Configuration(proxyBeanMethods=false) @Role(2) public class ProxyTransactionManagementConfiguration extends AbstractTransactionManagementConfiguration
@Configuration
class that registers the Spring infrastructure beans necessary to enable proxy-based annotation-driven transaction management.- 从以下版本开始:
- 3.1
- 作者:
- Chris Beams, Sebastien Deleuze
- 另请参阅:
EnableTransactionManagement
,TransactionManagementConfigurationSelector
字段概要
从类继承的字段 org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
enableTx, txManager
构造器概要
构造器 构造器 说明 ProxyTransactionManagementConfiguration()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BeanFactoryTransactionAttributeSourceAdvisor
transactionAdvisor(TransactionAttributeSource transactionAttributeSource, TransactionInterceptor transactionInterceptor)
TransactionAttributeSource
transactionAttributeSource()
TransactionInterceptor
transactionInterceptor(TransactionAttributeSource transactionAttributeSource)
从类继承的方法 org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
setImportMetadata, transactionalEventListenerFactory
构造器详细资料
ProxyTransactionManagementConfiguration
public ProxyTransactionManagementConfiguration()
方法详细资料
transactionAdvisor
@Bean(name="org.springframework.transaction.config.internalTransactionAdvisor") @Role(2) public BeanFactoryTransactionAttributeSourceAdvisor transactionAdvisor(TransactionAttributeSource transactionAttributeSource, TransactionInterceptor transactionInterceptor)
transactionAttributeSource
@Bean @Role(2) public TransactionAttributeSource transactionAttributeSource()
transactionInterceptor
@Bean @Role(2) public TransactionInterceptor transactionInterceptor(TransactionAttributeSource transactionAttributeSource)