public class PassThroughInterceptor extends java.lang.Object implements ProxyConfiguration.Interceptor
Constructor and Description |
---|
PassThroughInterceptor(java.lang.Object proxiedObject,
java.lang.String proxiedClassName) |
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.
|
public PassThroughInterceptor(java.lang.Object proxiedObject, java.lang.String proxiedClassName)
public java.lang.Object intercept(java.lang.Object instance, java.lang.reflect.Method method, java.lang.Object[] arguments) throws java.lang.Exception
ProxyConfiguration.Interceptor
intercept
in interface ProxyConfiguration.Interceptor
instance
- The proxied instance.method
- The invoked method.arguments
- The intercepted method arguments.java.lang.Exception
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.