|
spring-tx | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.transaction.annotation.SpringTransactionAnnotationParser
public class SpringTransactionAnnotationParser
Strategy implementation for parsing Spring's Transactional annotation.
| Constructor Summary | |
|---|---|
SpringTransactionAnnotationParser()
|
|
| Method Summary | |
|---|---|
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(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(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 class
null if none was foundAnnotationTransactionAttributeSource.determineTransactionAttribute(java.lang.reflect.AnnotatedElement)public TransactionAttribute parseTransactionAnnotation(Transactional ann)
|
spring-tx | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||