public interface TransactionAnnotationParserAnnotationTransactionAttributeSource は、Spring 自体の Transactional、JTA 1.2 の TransactionalSE または EJB3 の TransactionAttributeEE などの特定のアノテーション型をサポートするために、そのようなパーサーに委譲します。AnnotationTransactionAttributeSource, SpringTransactionAnnotationParser, Ejb3TransactionAnnotationParser, JtaTransactionAnnotationParser| 修飾子と型 | メソッドと説明 |
|---|---|
TransactionAttribute | parseTransactionAnnotation(AnnotatedElementSE ae) 既知のアノテーション型に基づいて、指定されたメソッドまたはクラスのトランザクション属性を解析します。 |
@Nullable TransactionAttribute parseTransactionAnnotation(AnnotatedElementSE ae)
これは基本的に、既知のトランザクションアノテーションを Spring のメタデータ属性クラスに解析します。メソッド / クラスがトランザクションでない場合、null を返します。
ae - アノテーション付きのメソッドまたはクラス null AnnotationTransactionAttributeSource.determineTransactionAttribute(java.lang.reflect.AnnotatedElement)