|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axonframework.commandhandling.DefaultInterceptorChain
public class DefaultInterceptorChain
Mechanism that takes care of interceptor and event handler execution.
| Constructor Summary | |
|---|---|
DefaultInterceptorChain(CommandMessage<?> command,
UnitOfWork unitOfWork,
CommandHandler<?> handler,
Iterable<? extends CommandHandlerInterceptor> chain)
Initialize the default interceptor chain to dispatch the given command, through the
chain, to the handler. |
|
| Method Summary | |
|---|---|
Object |
proceed()
Signals the Interceptor Chain to continue processing the incoming (original) command. |
Object |
proceed(CommandMessage<?> commandProceedWith)
Signals the Interceptor Chain to continue processing the given command. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultInterceptorChain(CommandMessage<?> command,
UnitOfWork unitOfWork,
CommandHandler<?> handler,
Iterable<? extends CommandHandlerInterceptor> chain)
command, through the
chain, to the handler.
command - The command to dispatch through the interceptor chainunitOfWork - The UnitOfWork the command is executed inhandler - The handler for the commandchain - The interceptor composing the chain| Method Detail |
|---|
public Object proceed(CommandMessage<?> commandProceedWith)
throws Throwable
proceed in interface InterceptorChaincommandProceedWith - The command being executed
Throwable - any exceptions thrown by interceptors or the command handler
public Object proceed()
throws Throwable
InterceptorChain
proceed in interface InterceptorChainThrowable - 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 | |||||||||