public interface Interceptor
| Modifier and Type | Field and Description |
|---|---|
static int |
END |
static int |
NORMAL_FLOW |
static int |
SKIP |
| Modifier and Type | Method and Description |
|---|---|
int |
doAfter(Object exitStackValue,
ASTNode node,
VariableResolverFactory factory)
This method is called after the wrapped statement has completed.
|
int |
doBefore(ASTNode node,
VariableResolverFactory factory)
This method is executed before the wrapped statement.
|
static final int NORMAL_FLOW
static final int SKIP
static final int END
int doBefore(ASTNode node, VariableResolverFactory factory)
node - The ASTNode wrapped by the interceptorfactory - The variable factoryint doAfter(Object exitStackValue, ASTNode node, VariableResolverFactory factory)
exitStackValue - The value on the top of the stack after executing the statement.node - The ASTNode wrapped by the interceptorfactory - The variable factoryCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.