public class

Ejb3TransactionAnnotationParser

extends Object
implements Serializable TransactionAnnotationParser
java.lang.Object
   ↳ org.springframework.transaction.annotation.Ejb3TransactionAnnotationParser

Class Overview

Strategy implementation for parsing EJB3's javax.ejb.TransactionAttribute annotation.

Summary

Public Constructors
Ejb3TransactionAnnotationParser()
Public Methods
TransactionAttribute parseTransactionAnnotation(TransactionAttribute ann)
TransactionAttribute parseTransactionAnnotation(AnnotatedElement ae)
Parse the transaction attribute for the given method or class, based on a known annotation type.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.transaction.annotation.TransactionAnnotationParser

Public Constructors

public Ejb3TransactionAnnotationParser ()

Public Methods

public TransactionAttribute parseTransactionAnnotation (TransactionAttribute ann)

public TransactionAttribute parseTransactionAnnotation (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