Abstract Stateful Reactor
public abstract class AbstractStatefulReactor<I, S extends Message, B extends ValidatingBuilder<S>> extends AbstractEventReactor
An abstract base for AbstractEventReactors which have state and require delivering the messages through an Inbox.
Inheritors
Constructors
Link copied to clipboard
Creates a new instance of the reactor and initializes the Inbox for it.
Functions
Link copied to clipboard
Dispatches the message contained in the passed envelope and returns the outcome.
Link copied to clipboard
Immediately writes the changes made to the current builder to the storage.
Link copied to clipboard
Creates a new instance of the respective state ValidatingBuilder and sets the passed identifier to it.
Link copied to clipboard
Selects the target to which the event should be dispatched.
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 event.
Link copied to clipboard
Verifies if this instance dispatches at least one external event.
Link copied to clipboard
Obtains classes of domestic events processed by this dispatcher.
Link copied to clipboard
Obtains classes of all events processed by this dispatcher.
Link copied to clipboard
Obtains classes of external events processed by this dispatcher.
Link copied to clipboard
Determines if this instance is already registered with a Bounded Context.
Link copied to clipboard
Obtains a set of message classes that can be processed by this dispatcher.
Link copied to clipboard
Obtains classes of the events produced by this object.
Link copied to clipboard
Obtains the name of this reactor, packed to Any.
Link copied to clipboard
Registers this reactor in
Stand
as an event producer.Link copied to clipboard
Registers this instance as a part of the given Bounded Context.