Abstract Command Dispatcher
The abstract base for non-aggregate classes that dispatch commands to their methods and post resulting events to EventBus.
Inheritors
Functions
Link copied to clipboard
Determines if this instance is already registered with a Bounded Context.
Link copied to clipboard
protected void onRejection(SignalEnvelope<? extends Object, ? extends Object, ? extends Object> signal, Event rejection)
Link copied to clipboard
Posts passed events to EventBus.
Link copied to clipboard
Obtains ID packed into
Any
for being used in generated events.Link copied to clipboard
Registers this instance as a part of the given Bounded Context.
Inherited functions
Link copied to clipboard
Checks if this dispatcher can dispatch the given message.
Link copied to clipboard
Verifies that this instance is NOT registered yet.
Link copied to clipboard
Verifies that this instance is already registered.
Link copied to clipboard
Verifies if this instance dispatches at least one command.
Link copied to clipboard
Obtains a set of message classes that can be processed by this dispatcher.