C
- The type of payload of the dispatched commandpublic abstract class VoidCallback<C> extends Object implements CommandCallback<C,Object>
Constructor and Description |
---|
VoidCallback() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
onSuccess(CommandMessage<? extends C> commandMessage)
Invoked when command handling execution was successful.
|
void |
onSuccess(CommandMessage<? extends C> commandMessage,
Object result)
Invoked when command handling execution was successful.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onFailure
public void onSuccess(CommandMessage<? extends C> commandMessage, Object result)
onSuccess(org.axonframework.commandhandling.CommandMessage)
.onSuccess
in interface CommandCallback<C,Object>
commandMessage
- The message that was dispatchedresult
- The result of the command handling execution, if any.protected abstract void onSuccess(CommandMessage<? extends C> commandMessage)
commandMessage
- The command message successfully executedCopyright © 2010–2017. All rights reserved.