接口 ProxyConfiguration.Interceptor

    • 方法详细资料

      • 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.