|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InterceptorChain
The interceptor chain manages the flow of a command through a chain of interceptors and ultimately to the command
handler. Interceptors may continue processing via this chain by calling the proceed()
or proceed(CommandMessage)
methods. Alternatively, they can block
processing by returning without calling either of these methods.
Method Summary | |
---|---|
Object |
proceed()
Signals the Interceptor Chain to continue processing the incoming (original) command. |
Object |
proceed(CommandMessage<?> command)
Signals the Interceptor Chain to continue processing the given command. |
Method Detail |
---|
Object proceed() throws Throwable
Throwable
- any exceptions thrown by interceptors or the command handlerObject proceed(CommandMessage<?> command) throws Throwable
command
- The command being executed
Throwable
- any exceptions thrown by interceptors or the command handler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |