Events

The framework emits events when it interacts with domain objects; the domain application can listen to these events and use them to influence the interaction (including veto’ing it).

These events fall into three broad categories: UI hints, domain and persistence lifecycles.

UI Events

As specified using @DomainObjectLayout#xxxUiEvent().

UI Events
Figure 1. UI Events

Domain Events

Domain Events
Figure 2. Domain Events

Persistence Events

As specified using @DomainObject#xxxLifecycleEvent():

Persistence Events
Figure 3. Persistence Events