|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecutionProcessor
Extension interface allowing command provider to be called in a generic fashion just before, and right after, executing a command.
Method Summary | |
---|---|
void |
afterReturningInvocation(ParseResult invocationContext,
Object result)
Method called after successfully invoking the target command (described by ParseResult ). |
void |
afterThrowingInvocation(ParseResult invocationContext,
Throwable thrown)
Method called after invoking the target command (described by ParseResult ) had thrown an exception . |
ParseResult |
beforeInvocation(ParseResult invocationContext)
Method called before invoking the target command (described by ParseResult ). |
Method Detail |
---|
ParseResult beforeInvocation(ParseResult invocationContext)
ParseResult
).
Additionally, for advanced cases, the parse result itself effectively changing the invocation
calling site.
invocationContext
- target command context
void afterReturningInvocation(ParseResult invocationContext, Object result)
ParseResult
).
invocationContext
- target command contextresult
- the invocation resultvoid afterThrowingInvocation(ParseResult invocationContext, Throwable thrown)
ParseResult
) had thrown an exception .
invocationContext
- target command contextthrown
- the thrown object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |