|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.transaction.annotation.Ejb3TransactionAnnotationParser
public class Ejb3TransactionAnnotationParser
Strategy implementation for parsing EJB3's javax.ejb.TransactionAttribute
annotation.
Nested Class Summary | |
---|---|
private static class |
Ejb3TransactionAnnotationParser.Ejb3TransactionAttribute
EJB3-specific TransactionAttribute, implementing EJB3's rollback rules which are based on annotated exceptions. |
Constructor Summary | |
---|---|
Ejb3TransactionAnnotationParser()
|
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(javax.ejb.TransactionAttribute ann)
Parse the transaction attribute for the given method or class, based on a known annotation type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Ejb3TransactionAnnotationParser()
Method Detail |
---|
public TransactionAttribute parseTransactionAnnotation(java.lang.reflect.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(javax.ejb.TransactionAttribute ann)
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
ann
- the annotated method or class
null
if none was foundAnnotationTransactionAttributeSource.determineTransactionAttribute(java.lang.reflect.AnnotatedElement)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |