org.springframework.transaction.aspectj
Class AspectJTransactionManagementConfiguration

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

@Configuration
public class AspectJTransactionManagementConfiguration
extends AbstractTransactionManagementConfiguration

@Configuration class that registers the Spring infrastructure beans necessary to enable AspectJ-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
AspectJTransactionManagementConfiguration()
           
 
Method Summary
 AnnotationTransactionAspect transactionAspect()
           
 
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

AspectJTransactionManagementConfiguration

public AspectJTransactionManagementConfiguration()
Method Detail

transactionAspect

@Bean(name="org.springframework.transaction.config.internalTransactionAspect")
@Role(value=2)
public AnnotationTransactionAspect transactionAspect()