List of usage examples for org.springframework.transaction.interceptor TransactionInterceptor setTransactionAttributeSource
public void setTransactionAttributeSource(@Nullable TransactionAttributeSource transactionAttributeSource)
From source file:org.joyrest.oauth2.initializer.OAuth2Initializer.java
private TransactionInterceptor transactionInterceptor(AnnotationTransactionAttributeSource source, PlatformTransactionManager txManager) { TransactionInterceptor interceptor = new TransactionInterceptor(); interceptor.setTransactionAttributeSource(source); interceptor.setTransactionManager(txManager); return interceptor; }