- All Implemented Interfaces:
- CanvasCommandManager<AbstractCanvasHandler>, SessionCommandManager<AbstractCanvasHandler>, CommandManager<AbstractCanvasHandler,CanvasViolation>, HasCommandListener<CommandListener<AbstractCanvasHandler,CanvasViolation>>, HasCommandRegistry<AbstractCanvasHandler,CanvasViolation>
@ApplicationScoped
@Request
public class RequestCommandManager
extends AbstractSessionCommandManager
This is a concrete implementation for a SessionCommandManager, but instead
of adding each executed command in the session's registry, it adds only a single composite command, which is
composed by the commands executed on each client request.
This implementation considers a client request the time frame between mouse down and mouse up events are fired
on the canvas.
Using this implementation is useful for components that use commands that must be executed in an atomic operation, so
undo/redo will be done as a single execution as well.