extend processor with after returning/throwing
SHL-40
This commit is contained in:
@@ -46,9 +46,13 @@ public class SimpleExecutionStrategyTest {
|
||||
return (beforeReturn == null ? invocationContext : beforeReturn);
|
||||
}
|
||||
|
||||
public void afterInvocation(ParseResult invocationContext) {
|
||||
public void afterReturningInvocation(ParseResult invocationContext, Object result) {
|
||||
after = invocationContext;
|
||||
}
|
||||
|
||||
public void afterThrowingInvocation(ParseResult invocationContext, Throwable thrown) {
|
||||
//
|
||||
}
|
||||
}
|
||||
|
||||
private SimpleExecutionStrategy execution = new SimpleExecutionStrategy();
|
||||
|
||||
Reference in New Issue
Block a user