public interface Interceptor
Interface for implementers of interception.
Each implementor must satisfy, that in the intercept(InvocationContext) method body will be called at least
once method from current context InvocationContext.invoke().
| 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(). |
Object intercept(InvocationContext context) throws Throwable
InvocationContext.invoke().context - the current invocation contextThrowableint getPrecedence()
Copyright © 2017 JBoss by Red Hat. All rights reserved.