public interface CallbackHandler
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(Object proxy,
Method method,
Object[] args)
When proxy is invoked, actual implementation of the proxy handler delegates the
invocation to this method.
|
@Nullable Object invoke(Object proxy, Method method, @Nullable Object[] args) throws Throwable
proxy - the proxy instance that the method was invoked onmethod - the method that has invoked on the proxy instanceargs - an array of objects that has passed to the method invocation.
this can be null when method is invoked with no argument.null.)Throwable - the exception thrown from the method invocation on the proxy instance.IllegalArgumentException - if proxy is nullIllegalArgumentException - if method is nullCopyright © 2025. All rights reserved.