org.qi4j.library.eventsourcing.application.replay
Class ApplicationEventPlayerService.Mixin

java.lang.Object
  extended by org.qi4j.library.eventsourcing.application.replay.ApplicationEventPlayerService.Mixin
All Implemented Interfaces:
ApplicationEventPlayer
Enclosing interface:
ApplicationEventPlayerService

public static class ApplicationEventPlayerService.Mixin
extends Object
implements ApplicationEventPlayer


Constructor Summary
ApplicationEventPlayerService.Mixin()
           
 
Method Summary
 void playEvent(ApplicationEvent applicationEvent, Object object)
          Invoke a domain event on a particular object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationEventPlayerService.Mixin

public ApplicationEventPlayerService.Mixin()
Method Detail

playEvent

public void playEvent(ApplicationEvent applicationEvent,
                      Object object)
               throws ApplicationEventReplayException
Description copied from interface: ApplicationEventPlayer
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 ApplicationEventPlayer
Throws:
ApplicationEventReplayException