The Spring Framework

## Uses of Interface
org.springframework.transaction.interceptor.TransactionAttribute

Packages that use TransactionAttribute
org.springframework.transaction.annotation: JDK 1.5+ annotation for transaction demarcation.
org.springframework.transaction.interceptor: AOP-based solution for declarative transaction demarcation.

Uses of TransactionAttribute in org.springframework.transaction.annotation

Methods in org.springframework.transaction.annotation that return TransactionAttribute
`protected TransactionAttribute` `AnnotationTransactionAttributeSource.determineTransactionAttribute(AnnotatedElement ae)` Determine the transaction attribute for the given method or class.
`protected TransactionAttribute` `AnnotationTransactionAttributeSource.findTransactionAttribute(Class clazz)`
`protected TransactionAttribute` `AnnotationTransactionAttributeSource.findTransactionAttribute(Method method)`
`TransactionAttribute` `Ejb3TransactionAnnotationParser.parseTransactionAnnotation(AnnotatedElement ae)`
`TransactionAttribute` `SpringTransactionAnnotationParser.parseTransactionAnnotation(AnnotatedElement ae)`
`TransactionAttribute` `TransactionAnnotationParser.parseTransactionAnnotation(AnnotatedElement ae)` Parse the transaction attribute for the given method or class, based on a known annotation type.

Uses of TransactionAttribute in org.springframework.transaction.interceptor

Classes in org.springframework.transaction.interceptor that implement TransactionAttribute
`class` `DefaultTransactionAttribute` Transaction attribute that takes the EJB approach to rolling back on runtime, but not checked, exceptions.
`class` `DelegatingTransactionAttribute` `TransactionAttribute` implementation that delegates all calls to a given target `TransactionAttribute` instance.
`class` `RuleBasedTransactionAttribute` TransactionAttribute implementation that works out whether a given exception should cause transaction rollback by applying a number of rollback rules, both positive and negative.

Methods in org.springframework.transaction.interceptor that return TransactionAttribute
`protected TransactionAttribute` `AttributesTransactionAttributeSource.findTransactionAttribute(Class clazz)`
`protected abstract TransactionAttribute` `AbstractFallbackTransactionAttributeSource.findTransactionAttribute(Class clazz)` Subclasses need to implement this to return the transaction attribute for the given class, if any.
`protected TransactionAttribute` `AttributesTransactionAttributeSource.findTransactionAttribute(Collection atts)` Return the transaction attribute, given this set of attributes attached to a method or class.
`protected TransactionAttribute` `AttributesTransactionAttributeSource.findTransactionAttribute(Method method)`
`protected abstract TransactionAttribute` `AbstractFallbackTransactionAttributeSource.findTransactionAttribute(Method method)` Subclasses need to implement this to return the transaction attribute for the given method, if any.
`TransactionAttribute` `TransactionAspectSupport.TransactionInfo.getTransactionAttribute()`
`TransactionAttribute` `TransactionAttributeSource.getTransactionAttribute(Method method, Class targetClass)` Return the transaction attribute for this method.
`TransactionAttribute` `NameMatchTransactionAttributeSource.getTransactionAttribute(Method method, Class targetClass)`
`TransactionAttribute` `MethodMapTransactionAttributeSource.getTransactionAttribute(Method method, Class targetClass)`
`TransactionAttribute` `MatchAlwaysTransactionAttributeSource.getTransactionAttribute(Method method, Class targetClass)`
`TransactionAttribute` `CompositeTransactionAttributeSource.getTransactionAttribute(Method method, Class targetClass)`
`TransactionAttribute` `AbstractFallbackTransactionAttributeSource.getTransactionAttribute(Method method, Class targetClass)` Determine the transaction attribute for this method invocation.

Methods in org.springframework.transaction.interceptor with parameters of type TransactionAttribute
`void` `MethodMapTransactionAttributeSource.addTransactionalMethod(Class clazz, String mappedName, TransactionAttribute attr)` Add an attribute for a transactional method.
`void` `MethodMapTransactionAttributeSource.addTransactionalMethod(Method method, TransactionAttribute attr)` Add an attribute for a transactional method.
`void` `NameMatchTransactionAttributeSource.addTransactionalMethod(String methodName, TransactionAttribute attr)` Add an attribute for a transactional method.
`void` `MethodMapTransactionAttributeSource.addTransactionalMethod(String name, TransactionAttribute attr)` Add an attribute for a transactional method.
`protected TransactionAspectSupport.TransactionInfo` `TransactionAspectSupport.createTransactionIfNecessary(TransactionAttribute txAttr, String joinpointIdentification)` Create a transaction if necessary based on the given TransactionAttribute.
`protected TransactionAspectSupport.TransactionInfo` `TransactionAspectSupport.prepareTransactionInfo(TransactionAttribute txAttr, String joinpointIdentification, TransactionStatus status)` Prepare a TransactionInfo for the given attribute and status object.
`void` `MatchAlwaysTransactionAttributeSource.setTransactionAttribute(TransactionAttribute transactionAttribute)` Allows a transaction attribute to be specified, using the String form, for example, "PROPAGATION_REQUIRED".

Constructors in org.springframework.transaction.interceptor with parameters of type TransactionAttribute
`DefaultTransactionAttribute(TransactionAttribute other)` Copy constructor.
`DelegatingTransactionAttribute(TransactionAttribute targetAttribute)` Create a DelegatingTransactionAttribute for the given target attribute.
`TransactionAspectSupport.TransactionInfo(TransactionAttribute transactionAttribute, String joinpointIdentification)`

The Spring Framework

Copyright © 2002-2008 The Spring Framework.