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 classADomainEventSubscriberthat 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 TypeClassDescriptionclassADomainEventSubscriberthat saves all events in memory.classADomainEventSubscriberthat logs all events using Slf4j.Methods in com.reallifedeveloper.common.domain.event with parameters of type DomainEventSubscriberModifier and TypeMethodDescriptionvoidDomainEventPublisher.subscribe(DomainEventSubscriber<? extends DomainEvent> subscriber) Registers an event handler with this publisher.voidSimpleDomainEventPublisher.subscribe(DomainEventSubscriber<? extends DomainEvent> subscriber) Registers an event handler with this publisher.voidThreadLocalDomainEventPublisher.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 newSimpleDomainEventPublisherwith a number of subscribers registered to be notified when events are published.