public interface

TransactionAttributeSource

org.springframework.transaction.interceptor.TransactionAttributeSource
Known Indirect Subclasses

Class Overview

Interface used by TransactionInterceptor. Implementations know how to source transaction attributes, whether from configuration, metadata attributes at source level, or anywhere else.

Summary

Public Methods
abstract TransactionAttribute getTransactionAttribute(Method method, Class<?> targetClass)
Return the transaction attribute for this method.

Public Methods

public abstract TransactionAttribute getTransactionAttribute (Method method, Class<?> targetClass)

Return the transaction attribute for this method. Return null if the method is non-transactional.

Parameters
method method
targetClass target class. May be null, in which case the declaring class of the method must be used.
Returns
  • TransactionAttribute the matching transaction attribute, or null if none found