org.springframework.transaction.annotation
Class SpringTransactionAnnotationParser
java.lang.Object
   org.springframework.transaction.annotation.SpringTransactionAnnotationParser
org.springframework.transaction.annotation.SpringTransactionAnnotationParser
- All Implemented Interfaces: 
- Serializable, TransactionAnnotationParser
- public class SpringTransactionAnnotationParser 
- extends Object- implements TransactionAnnotationParser, Serializable
Strategy implementation for parsing Spring's Transactional annotation.
- Since:
- 2.5
- Author:
- Juergen Hoeller
- See Also:
- Serialized Form
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SpringTransactionAnnotationParser
public SpringTransactionAnnotationParser()
parseTransactionAnnotation
public TransactionAttribute parseTransactionAnnotation(AnnotatedElement ae)
- Description copied from interface: TransactionAnnotationParser
- Parse the transaction attribute for the given method or class,
 based on a known annotation type.
 This essentially parses a known transaction annotation into Spring's
 metadata attribute class. Returns nullif the method/class
 is not transactional.
 
 
- 
- Specified by:
- parseTransactionAnnotationin interface- TransactionAnnotationParser
 
- 
- Parameters:
- ae- the annotated method or class
- Returns:
- TransactionAttribute the configured transaction attribute,
 or nullif none was found
- See Also:
- AnnotationTransactionAttributeSource.determineTransactionAttribute(java.lang.reflect.AnnotatedElement)
 
parseTransactionAnnotation
public TransactionAttribute parseTransactionAnnotation(Transactional ann)
- 
 
- 
 
Copyright © 2002-2008 The Spring Framework.