类 Ejb3TransactionAnnotationParser
- java.lang.Object
- org.springframework.transaction.annotation.Ejb3TransactionAnnotationParser
- 所有已实现的接口:
Serializable
,TransactionAnnotationParser
public class Ejb3TransactionAnnotationParser extends Object implements TransactionAnnotationParser, Serializable
Strategy implementation for parsing EJB3'sTransactionAttribute
annotation.- 从以下版本开始:
- 2.5
- 作者:
- Juergen Hoeller
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 Ejb3TransactionAnnotationParser()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 boolean
equals(Object other)
int
hashCode()
TransactionAttribute
parseTransactionAnnotation(AnnotatedElement element)
Parse the transaction attribute for the given method or class, based on an annotation type understood by this parser.TransactionAttribute
parseTransactionAnnotation(TransactionAttribute ann)
构造器详细资料
Ejb3TransactionAnnotationParser
public Ejb3TransactionAnnotationParser()
方法详细资料
parseTransactionAnnotation
public TransactionAttribute parseTransactionAnnotation(AnnotatedElement element)
从接口复制的说明:TransactionAnnotationParser
Parse the transaction attribute for the given method or class, based on an annotation type understood by this parser.This essentially parses a known transaction annotation into Spring's metadata attribute class. Returns
null
if the method/class is not transactional.- 指定者:
parseTransactionAnnotation
在接口中TransactionAnnotationParser
- 参数:
element
- the annotated method or class- 返回:
- the configured transaction attribute, or
null
if none found - 另请参阅:
AnnotationTransactionAttributeSource.determineTransactionAttribute(java.lang.reflect.AnnotatedElement)
parseTransactionAnnotation
public TransactionAttribute parseTransactionAnnotation(TransactionAttribute ann)