Class CommandEventCapturer<I>

java.lang.Object
com.opencqrs.framework.persistence.EventCapturer
com.opencqrs.framework.command.CommandEventCapturer<I>
Type Parameters:
I - the instance as defined by the CommandHandlerDefinition being executed
All Implemented Interfaces:
CommandEventPublisher<I>, EventPublisher

public class CommandEventCapturer<I> extends EventCapturer implements CommandEventPublisher<I>
Default implementation of CommandEventPublisher used by CommandRouter to apply events to the StateRebuildingHandlers relevant for the Command being executed.