Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.transaction.annotation
Interface TransactionAnnotationParser

All Known Implementing Classes:
  Ejb3TransactionAnnotationParser, SpringTransactionAnnotationParser

    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`.

Since:
  2.5
Author:
  Juergen Hoeller
See Also:
  `AnnotationTransactionAttributeSource`, `SpringTransactionAnnotationParser`, `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.

Method Detail

### parseTransactionAnnotation

    TransactionAttribute parseTransactionAnnotation(java.lang.reflect.AnnotatedElement ae)

  Parse the transaction attribute for the given method or class, based on a known annotation type.

  This essentially parses a known transaction annotation into Spring's metadata attribute class. Returns `null` if the method/class is not transactional.

  Parameters:
    `ae` - the annotated method or class
  Returns:
    TransactionAttribute the configured transaction attribute, or `null` if none was found
  See Also:
    `AnnotationTransactionAttributeSource.determineTransactionAttribute(java.lang.reflect.AnnotatedElement)`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD