public static interface ProxyConfiguration.Interceptor
Modifier and Type | Method and Description |
---|---|
Object |
intercept(Object instance,
Method method,
Object[] arguments)
Intercepts a method call to a proxy.
|
@RuntimeType Object intercept(@This Object instance, @Origin Method method, @AllArguments Object[] arguments) throws Throwable
instance
- The proxied instance.method
- The invoked method.arguments
- The intercepted method arguments.Throwable
- If the intercepted method raises an exception.Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.