public class Ejb3TransactionAnnotationParser extends java.lang.Object implements TransactionAnnotationParser, java.io.Serializable
TransactionAttribute
annotation.| Constructor and Description |
|---|
Ejb3TransactionAnnotationParser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
TransactionAttribute |
parseTransactionAnnotation(java.lang.reflect.AnnotatedElement ae)
Parse the transaction attribute for the given method or class,
based on a known annotation type.
|
TransactionAttribute |
parseTransactionAnnotation(TransactionAttribute ann) |
public TransactionAttribute parseTransactionAnnotation(java.lang.reflect.AnnotatedElement ae)
TransactionAnnotationParserThis essentially parses a known transaction annotation into Spring's
metadata attribute class. Returns null if the method/class
is not transactional.
parseTransactionAnnotation in interface TransactionAnnotationParserae - the annotated method or classnull if none was foundAnnotationTransactionAttributeSource.determineTransactionAttribute(java.lang.reflect.AnnotatedElement)public TransactionAttribute parseTransactionAnnotation(TransactionAttribute ann)
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object