public class InterceptorInvocationHandler extends Object implements InvocationHandler, Serializable
Constructor and Description |
---|
InterceptorInvocationHandler(Interceptor interceptor)
Construct a new instance.
|
public InterceptorInvocationHandler(Interceptor interceptor)
interceptor
- the interceptor to send invocations throughpublic Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
proxy
- the proxy instancemethod
- the invoked methodargs
- the method argumentsThrowable
- the exception to thrown from the method invocation on the proxy instance, if anyCopyright © 2012 JBoss by Red Hat. All Rights Reserved.