org.qi4j.library.eventsourcing.domain.replay
Class DomainEventPlayerService.Mixin
java.lang.Object
org.qi4j.library.eventsourcing.domain.replay.DomainEventPlayerService.Mixin
- All Implemented Interfaces:
- DomainEventPlayer
- Enclosing interface:
- DomainEventPlayerService
public static class DomainEventPlayerService.Mixin
- extends Object
- implements DomainEventPlayer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainEventPlayerService.Mixin
public DomainEventPlayerService.Mixin()
playTransaction
public void playTransaction(UnitOfWorkDomainEventsValue unitOfWorkDomainValue)
throws EventReplayException
- Specified by:
playTransaction
in interface DomainEventPlayer
- Throws:
EventReplayException
playEvent
public void playEvent(DomainEventValue domainEventValue,
Object object)
throws EventReplayException
- Description copied from interface:
DomainEventPlayer
- Invoke a domain event on a particular object. The object could
be the original object, but could also be a service that wants
to be invoked to handle the event.
- Specified by:
playEvent
in interface DomainEventPlayer
- Throws:
EventReplayException