|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionAnnotationParser
Strategy interface for parsing known transaction annotation types.
AnnotationTransactionAttributeSource
delegates to such
parsers for supporting specific annotation types such as Spring's own
Transactional
or EJB3's TransactionAttribute
.
AnnotationTransactionAttributeSource
,
SpringTransactionAnnotationParser
,
Ejb3TransactionAnnotationParser
Method Summary | |
---|---|
TransactionAttribute |
parseTransactionAnnotation(AnnotatedElement ae)
Parse the transaction attribute for the given method or class, based on a known annotation type. |
Method Detail |
---|
TransactionAttribute parseTransactionAnnotation(AnnotatedElement ae)
This essentially parses a known transaction annotation into Spring's
metadata attribute class. Returns null
if the method/class
is not transactional.
ae
- the annotated method or class
null
if none was foundAnnotationTransactionAttributeSource.determineTransactionAttribute(java.lang.reflect.AnnotatedElement)
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |