|
||||||||||
| 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(Object) 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(Object 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 handler
Object proceed(Object 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 | |||||||||