public static class ProxyConfiguration.InterceptorDispatcher extends Object
Constructor and Description |
---|
InterceptorDispatcher() |
Modifier and Type | Method and Description |
---|---|
static Object |
intercept(Object instance,
Method method,
Object[] arguments,
Object stubValue,
ProxyConfiguration.Interceptor interceptor)
Intercepts a method call to a proxy.
|
@RuntimeType public static Object intercept(@This Object instance, @Origin Method method, @AllArguments Object[] arguments, @StubValue Object stubValue, @FieldValue(value="$$_hibernate_interceptor") ProxyConfiguration.Interceptor interceptor) throws 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.Throwable
- If the intercepted method raises an exception.Copyright © 2019 JBoss by Red Hat. All rights reserved.