public class MappedMethodCallableInvocationHandler
extends Object
implements InvocationHandler
Constructor and Description |
---|
MappedMethodCallableInvocationHandler(Object instance,
boolean removeOnCall) |
Modifier and Type | Method and Description |
---|---|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
void |
putAfterCallable(Method method,
Callable<?> callable) |
void |
putBeforeCallable(Method method,
Callable<?> callable) |
public MappedMethodCallableInvocationHandler(Object instance, boolean removeOnCall)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
public void putAfterCallable(Method method, Callable<?> callable)
public void putBeforeCallable(Method method, Callable<?> callable)