Interface MethodInterceptor
- All Known Implementing Classes:
ComponentProxy,ConfigurationClassProxy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Intercepts method calls on a generated proxy instance.
-
Method Summary
-
Method Details
-
invoke
- Parameters:
self- the proxy instance receiving the callthisMethod- the method being invokedproceed- the generated pass-through method: invokes the superclass body for class targets (andequals/hashCode/toStringof interface proxies), or the default-method body for interface default methods;nullwhen the method is abstract and there is nothing to callargs- invocation arguments (owned by the caller; do not retain)- Returns:
- the value to return to the caller
- Throws:
Throwable- propagated to the caller unchanged
-