public class WrapsElementInterceptor extends Object implements Interceptor
| Constructor and Description |
|---|
WrapsElementInterceptor(GrapheneProxyInstance elementProxy) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPrecedence()
Determines a priority by which this interceptor should be invoked when intercepting.
|
Object |
intercept(InvocationContext context)
When processing custom logic must satisfy, that at least once will be called method
InvocationContext.invoke(). |
public WrapsElementInterceptor(GrapheneProxyInstance elementProxy)
public Object intercept(InvocationContext context) throws Throwable
InterceptorInvocationContext.invoke().intercept in interface Interceptorcontext - the current invocation contextThrowablepublic int getPrecedence()
InterceptorgetPrecedence in interface InterceptorCopyright © 2014 JBoss by Red Hat. All rights reserved.