public interface MethodForwardingInterceptor
| Modifier and Type | Method and Description |
|---|---|
Object |
intercept(Object[] inputs,
Object adaptedInstance,
Object result)
Intercept a call forwarded by a MethodRouter.
|
Object intercept(Object[] inputs, Object adaptedInstance, Object result) throws AdapterException
inputs - The inputs passed by the caller to the exposed interface, converted into a set of arguments
accepted by the adapted instance.adaptedInstance - The adapted instance itself.result - If the adapted instance's method has been called, this will be the result (if any) returned by it.
If the adapted instance has not yet been invoked, this will be null.AdapterExceptionCopyright © 2020 shadow-invoke. All rights reserved.