|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.transaction.annotation.SpringTransactionAnnotationParser
public class SpringTransactionAnnotationParser
Strategy implementation for parsing Spring's Transactional
annotation.
Constructor Summary | |
---|---|
SpringTransactionAnnotationParser()
|
Method Summary | |
---|---|
TransactionAttribute |
parseTransactionAnnotation(AnnotatedElement ae)
Parse the transaction attribute for the given method or class, based on a known annotation type. |
TransactionAttribute |
parseTransactionAnnotation(Transactional ann)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpringTransactionAnnotationParser()
Method Detail |
---|
public TransactionAttribute parseTransactionAnnotation(AnnotatedElement ae)
TransactionAnnotationParser
This essentially parses a known transaction annotation into Spring's
metadata attribute class. Returns null
if the method/class
is not transactional.
parseTransactionAnnotation
in interface TransactionAnnotationParser
ae
- the annotated method or class
null
if none was foundAnnotationTransactionAttributeSource.determineTransactionAttribute(java.lang.reflect.AnnotatedElement)
public TransactionAttribute parseTransactionAnnotation(Transactional ann)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |