public static class DomainEventPlayerService.Mixin extends Object implements DomainEventPlayer
Constructor and Description |
---|
DomainEventPlayerService.Mixin() |
Modifier and Type | Method and Description |
---|---|
void |
playEvent(DomainEventValue domainEventValue,
Object object)
Invoke a domain event on a particular object.
|
void |
playTransaction(UnitOfWorkDomainEventsValue unitOfWorkDomainValue) |
public void playTransaction(UnitOfWorkDomainEventsValue unitOfWorkDomainValue) throws EventReplayException
playTransaction
in interface DomainEventPlayer
EventReplayException
public void playEvent(DomainEventValue domainEventValue, Object object) throws EventReplayException
DomainEventPlayer
playEvent
in interface DomainEventPlayer
domainEventValue
- Domain event valueobject
- targetEventReplayException
- if unable to play event