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 |
---|---|
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 contextThrowable
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.