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, duringFinally
protected TransactionExecutor transactionExecutor
public Object createMethodContext(Class<?> targetClass, Method method, Map<Class<? extends Annotation>,Annotation> annotations)
createMethodContext
in class ChainableMethodAdvice
public Object invoke(AopMethodInvocation aopMethodInvocation, Object[] arguments) throws Throwable
invoke
in class ChainableMethodAdvice
Throwable
public void setTransactionExecutor(TransactionExecutor transactionExecutor)