List of usage examples for org.springframework.transaction.interceptor TransactionAttributeSource interface-usage
From source file ome.services.sharing.ShareRestrictionTransactionAttributeSource.java
/** * Prevents methods from setting the transaction to readOnly = false when a * share is activated. */ public class ShareRestrictionTransactionAttributeSource implements TransactionAttributeSource {
From source file org.springframework.transaction.interceptor.AttributesTransactionAttributeSource.java
/**
* Implementation of TransactionAttributeSource that uses
* attributes from an Attributes implementation.
* Defaults to using class's transaction attribute if none is
* associated with the target method.
* Any transaction attribute associated with the target method completely
From source file org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource.java
/**
* Simple {@link TransactionAttributeSource} implementation that
* allows attributes to be matched by registered name.
*
* @author Juergen Hoeller
* @since 21.08.2003
From source file org.springframework.transaction.interceptor.AbstractFallbackTransactionAttributeSource.java
/**
* Abstract implementation of {@link TransactionAttributeSource} that caches
* attributes for methods and implements a fallback policy: 1. specific target
* method; 2. target class; 3. declaring method; 4. declaring class/interface.
*
* <p>Defaults to using the target class's transaction attribute if none is
From source file org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource.java
/**
* Simple {@link TransactionAttributeSource} implementation that
* allows attributes to be stored per method in a {@link Map}.
*
* @author Rod Johnson
* @author Juergen Hoeller
From source file org.alfresco.util.transaction.SpringAwareUserTransaction.java
/**
* A <code>UserTransaction</code> that will allow the thread using it to participate
* in transactions that are normally only begun and committed by the <b>SpringFramework</b>
* transaction aware components.
* <p>
* Client code can use this class directly, but should be very careful to handle the exception