public interface TransactionAttributeSource
TransactionAspectSupport.setTransactionAttributeSource(org.springframework.transaction.interceptor.TransactionAttributeSource),
TransactionProxyFactoryBean.setTransactionAttributeSource(org.springframework.transaction.interceptor.TransactionAttributeSource)| Modifier and Type | Method and Description |
|---|---|
TransactionAttribute |
getTransactionAttribute(java.lang.reflect.Method method,
java.lang.Class<?> targetClass)
Return the transaction attribute for this method.
|
TransactionAttribute getTransactionAttribute(java.lang.reflect.Method method, java.lang.Class<?> targetClass)
method - methodtargetClass - target class. May be null, in which
case the declaring class of the method must be used.null if none found