SystemWriteSide

public interface SystemWriteSide

The write side of a system bounded context.

A domain context posts messages to its system counterpart via a SystemWriteSide.

Inheritors

Functions

Link copied to clipboard
public static SystemWriteSide newInstance(SystemContext system)
Creates new instance of the SystemWriteSide which serves the passed system context.
Link copied to clipboard
public Event postEvent(EventMessage systemEvent)
Posts a system event.
public abstract Event postEvent(EventMessage systemEvent, Origin origin)
Posts a system event with the given origin.