Spring Framework

org.springframework.transaction.annotation
Class ProxyTransactionManagementConfiguration

java.lang.Object
  extended by org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
      extended by org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration
All Implemented Interfaces:
Aware, ImportAware

@Configuration
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
See Also:
EnableTransactionManagement, TransactionManagementConfigurationSelector

Field Summary
 
Fields inherited from class org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
enableTx, txManager
 
Constructor Summary
ProxyTransactionManagementConfiguration()
           
 
Method Summary
 BeanFactoryTransactionAttributeSourceAdvisor transactionAdvisor()
           
 TransactionAttributeSource transactionAttributeSource()
           
 TransactionInterceptor transactionInterceptor()
           
 
Methods inherited from class org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
setImportMetadata
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyTransactionManagementConfiguration

public ProxyTransactionManagementConfiguration()
Method Detail

transactionAdvisor

@Bean(name="org.springframework.transaction.config.internalTransactionAdvisor")
@Role(value=2)
public BeanFactoryTransactionAttributeSourceAdvisor transactionAdvisor()

transactionAttributeSource

@Bean
@Role(value=2)
public TransactionAttributeSource transactionAttributeSource()

transactionInterceptor

@Bean
@Role(value=2)
public TransactionInterceptor transactionInterceptor()

Spring Framework