Pm Event Endpoint
public class PmEventEndpoint<I, P extends ProcessManager<I, ? extends Object, ? extends Object>> extends PmEndpoint<I, P, M> implements EventEndpoint<I>
Dispatches event to reacting process managers.
Parameters
<I>
the type of process manager IDs
<P>
the type of process managers
Constructors
Link copied to clipboard
protected void PmEventEndpoint(ProcessManagerRepository<I, P, ? extends Object> repository, EventEnvelope event)
Functions
Link copied to clipboard
The callback invoked after the message is dispatched to an entity with the given ID.
Link copied to clipboard
Invokes entity-specific method for dispatching the message.
Link copied to clipboard
Does nothing since a state of a process manager should not be necessarily updated upon reacting on an event.
Inherited functions
Link copied to clipboard
Dispatches the message to the target with the passed ID.
Link copied to clipboard
Verifies whether the entity was modified during the message dispatching.
Link copied to clipboard
The callback invoked if the handled signal is a duplicate.
Link copied to clipboard
Callback to perform operations if the entity was modified during message dispatching.
Link copied to clipboard
Performs actual dispatching of the signal to the respective target by the passed ID.
Link copied to clipboard
Obtains the repository which manages the target entities.
Obtains the parent repository of this endpoint.
Link copied to clipboard