public class JtaTransactionAnnotationParser extends ObjectSE implements TransactionAnnotationParser, SerializableSE
Transactional
SE アノテーションを解析するための戦略の実装。コンストラクターと説明 |
---|
JtaTransactionAnnotationParser() |
修飾子と型 | メソッドと説明 |
---|---|
boolean | equals(ObjectSE other) |
int | hashCode() |
TransactionAttribute | parseTransactionAnnotation(AnnotatedElementSE element) このパーサーが理解できるアノテーション型に基づいて、指定されたメソッドまたはクラスのトランザクション属性を解析します。 |
protected TransactionAttribute | parseTransactionAnnotation(AnnotationAttributes attributes) |
TransactionAttribute | parseTransactionAnnotation(TransactionalSE ann) |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
@Nullable public TransactionAttribute parseTransactionAnnotation(AnnotatedElementSE element)
TransactionAnnotationParser
これは基本的に、既知のトランザクションアノテーションを Spring のメタデータ属性クラスに解析します。メソッド / クラスがトランザクションでない場合、null
を返します。
TransactionAnnotationParser
の parseTransactionAnnotation
element
- アノテーション付きのメソッドまたはクラス null
AnnotationTransactionAttributeSource.determineTransactionAttribute(java.lang.reflect.AnnotatedElement)
public TransactionAttribute parseTransactionAnnotation(TransactionalSE ann)
protected TransactionAttribute parseTransactionAnnotation(AnnotationAttributes attributes)
public int hashCode()
ObjectSE
の hashCodeSE