Package com.reallifedeveloper.common.domain.event
package com.reallifedeveloper.common.domain.event
Support classes and interfaces for publishing and handling domain events.
- Author:
- RealLifeDeveloper
-
ClassDescriptionAn abstract base class for domain events.A domain-driven design domain event, i.e., something that happened that domain experts care about.A publisher of domain events.DomainEventSubscriber<T extends DomainEvent>A handler of domain events.A
DomainEventSubscriber
that saves all events in memory.ADomainEventSubscriber
that logs all events using Slf4j.A publisher of domain events that holds subscribers in a list.A publisher of domain events that keeps track of subscribers on a per-thread basis.