Class WrappedCommandCallback<C,R>

java.lang.Object
org.axonframework.commandhandling.WrappedCommandCallback<C,R>
Type Parameters:
C - the type of payload of the command
R - the type of result of the command handling
All Implemented Interfaces:
CommandCallback<C,R>

public class WrappedCommandCallback<C,R> extends Object implements CommandCallback<C,R>
Represents a CommandCallback that was wrapped with another. When the WrappedCommandCallback is called, it will first execute the outer callback, then execute the inner callback. You can wrap a CommandCallback with another using CommandCallback.wrap(CommandCallback).
Since:
4.6.0
Author:
Mitchell Herrijgers