接口 ProxyConfiguration.Interceptor
-
- 所有已知实现类:
ByteBuddyInterceptor,PassThroughInterceptor
- 封闭接口:
- ProxyConfiguration
public static interface ProxyConfiguration.InterceptorAn interceptor object that is responsible for invoking a proxy's method.
-
-
方法详细资料
-
intercept
@RuntimeType Object intercept(@This Object instance, @Origin Method method, @AllArguments Object[] arguments) throws Throwable
Intercepts a method call to a proxy.- 参数:
instance- The proxied instance.method- The invoked method.arguments- The intercepted method arguments.- 返回:
- The method's return value.
- 抛出:
Throwable- If the intercepted method raises an exception.
-
-