public class TransactionInterceptor extends ChainableMethodAdvice
| Modifier and Type | Field and Description |
|---|---|
protected TransactionExecutor |
transactionExecutor |
nullResult| Constructor and Description |
|---|
TransactionInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
createMethodContext(Class<?> targetClass,
Method method,
Map<Class<? extends Annotation>,Annotation> annotations) |
Object |
invoke(AopMethodInvocation aopMethodInvocation,
Object[] arguments) |
void |
setTransactionExecutor(TransactionExecutor transactionExecutor) |
afterReturning, afterThrowing, before, duringFinallyprotected TransactionExecutor transactionExecutor
public Object createMethodContext(Class<?> targetClass,
Method method,
Map<Class<? extends Annotation>,Annotation> annotations)
createMethodContext in class ChainableMethodAdvicepublic Object invoke(AopMethodInvocation aopMethodInvocation, Object[] arguments) throws Throwable
invoke in class ChainableMethodAdviceThrowablepublic void setTransactionExecutor(TransactionExecutor transactionExecutor)