public abstract class ChainableMethodAdvice
extends Object
Modifier and Type | Field and Description |
---|---|
protected static Object |
nullResult |
Constructor and Description |
---|
ChainableMethodAdvice() |
Modifier and Type | Method and Description |
---|---|
void |
afterReturning(AopMethodInvocation aopMethodInvocation,
Object[] arguments,
Object result) |
void |
afterThrowing(AopMethodInvocation aopMethodInvocation,
Object[] arguments,
Throwable throwable) |
Object |
before(AopMethodInvocation aopMethodInvocation,
Object[] arguments) |
abstract Object |
createMethodContext(Class<?> targetClass,
Method method,
Map<Class<? extends Annotation>,Annotation> annotations) |
void |
duringFinally(AopMethodInvocation aopMethodInvocation,
Object[] arguments) |
Object |
invoke(AopMethodInvocation aopMethodInvocation,
Object[] arguments) |
public void afterReturning(AopMethodInvocation aopMethodInvocation, Object[] arguments, Object result) throws Throwable
Throwable
public void afterThrowing(AopMethodInvocation aopMethodInvocation, Object[] arguments, Throwable throwable) throws Throwable
Throwable
public Object before(AopMethodInvocation aopMethodInvocation, Object[] arguments) throws Throwable
Throwable
public abstract Object createMethodContext(Class<?> targetClass, Method method, Map<Class<? extends Annotation>,Annotation> annotations)
public void duringFinally(AopMethodInvocation aopMethodInvocation, Object[] arguments)
public Object invoke(AopMethodInvocation aopMethodInvocation, Object[] arguments) throws Throwable
Throwable