public class LoggingCallback extends Object implements CommandCallback<Object>
| Constructor and Description |
|---|
LoggingCallback(CommandMessage<?> message) |
public LoggingCallback(CommandMessage<?> message)
public void onSuccess(Object result)
CommandCallbackonSuccess in interface CommandCallback<Object>result - The result of the command handling execution, if any.public void onFailure(Throwable cause)
CommandCallbackonFailure in interface CommandCallback<Object>cause - The exception raised during command handlingCopyright © 2010-2013. All Rights Reserved.