org.qi4j.library.eventsourcing.application.replay

## Class ApplicationEventPlayerService.Mixin

- java.lang.Object
- - 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

    Constructors
    Constructor and Description
    `ApplicationEventPlayerService.Mixin()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`
      Parameters:
        `applicationEvent` - Application event
        `object` - target
      Throws:
        `ApplicationEventReplayException` - if unable to play event