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