public interface Interceptor
| Modifier and Type | Method and Description |
|---|---|
void |
afterCall(Object instance,
Method method,
Object[] args,
Object result)
Triggered after a normal method (if no exception has been thrown by the method)
|
void |
beforeCall(Object instance,
Method method,
Object[] args)
Triggered before a method call
|
void |
onError(Object instance,
Method method,
Object[] args,
Exception exception)
Triggered if the called method has thrown an exception
|
void beforeCall(Object instance, Method method, Object[] args)
instance - method - args - void afterCall(Object instance, Method method, Object[] args, Object result)
instance - method - args - result - Copyright © 2016. All rights reserved.