public static class ProxyConfiguration.InterceptorDispatcher
extends java.lang.Object
Constructor and Description |
---|
InterceptorDispatcher() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
intercept(java.lang.Object instance,
java.lang.reflect.Method method,
java.lang.Object[] arguments,
java.lang.Object stubValue,
ProxyConfiguration.Interceptor interceptor)
Intercepts a method call to a proxy.
|
@RuntimeType public static java.lang.Object intercept(@This java.lang.Object instance, @Origin java.lang.reflect.Method method, @AllArguments java.lang.Object[] arguments, @StubValue java.lang.Object stubValue, @FieldValue(value="$$_hibernate_interceptor") ProxyConfiguration.Interceptor interceptor) throws java.lang.Throwable
instance
- The proxied instance.method
- The invoked method.arguments
- The method arguments.stubValue
- The intercepted method's default value.interceptor
- The proxy object's interceptor instance.java.lang.Throwable
- If the intercepted method raises an exception.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.