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