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