public class InterceptorInvocationHandler extends Object implements InvocationHandler, Serializable
Constructor and Description |
---|
InterceptorInvocationHandler(Interceptor interceptor)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
Object |
invoke(Object proxy,
Method method,
Object[] args)
Handle a proxy method invocation.
|
String |
toString() |
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 © 2023 JBoss by Red Hat. All rights reserved.