Uses of Interface
com.reallifedeveloper.common.domain.event.DomainEventSubscriber
Packages that use DomainEventSubscriber
Package
Description
An implementation of an event store, i.e., a way to persist domain events.
Support classes and interfaces for publishing and handling domain events.
-
Uses of DomainEventSubscriber in com.reallifedeveloper.common.application.eventstore
Classes in com.reallifedeveloper.common.application.eventstore that implement DomainEventSubscriberModifier and TypeClassDescriptionfinal class
ADomainEventSubscriber
that stores all events using aEventStore
. -
Uses of DomainEventSubscriber in com.reallifedeveloper.common.domain.event
Classes in com.reallifedeveloper.common.domain.event that implement DomainEventSubscriberModifier and TypeClassDescriptionclass
ADomainEventSubscriber
that saves all events in memory.class
ADomainEventSubscriber
that logs all events using Slf4j.Methods in com.reallifedeveloper.common.domain.event with parameters of type DomainEventSubscriberModifier and TypeMethodDescriptionvoid
DomainEventPublisher.subscribe
(DomainEventSubscriber<? extends DomainEvent> subscriber) Registers an event handler with this publisher.void
SimpleDomainEventPublisher.subscribe
(DomainEventSubscriber<? extends DomainEvent> subscriber) Registers an event handler with this publisher.void
ThreadLocalDomainEventPublisher.subscribe
(DomainEventSubscriber<? extends DomainEvent> subscriber) Registers an event handler with this publisher.Constructor parameters in com.reallifedeveloper.common.domain.event with type arguments of type DomainEventSubscriberModifierConstructorDescriptionSimpleDomainEventPublisher
(List<DomainEventSubscriber<? extends DomainEvent>> subscribers) Creates a newSimpleDomainEventPublisher
with a number of subscribers registered to be notified when events are published.