org.qi4j.library.eventsourcing.domain.factory

## Class UnitOfWorkNotificationConcern

- java.lang.Object
- - org.qi4j.api.concern.ConcernOf<DomainEventFactory>
  - - org.qi4j.library.eventsourcing.domain.factory.UnitOfWorkNotificationConcern

- All Implemented Interfaces:
    DomainEventFactory

      public class UnitOfWorkNotificationConcern
      extends ConcernOf<DomainEventFactory>
      implements DomainEventFactory

  Notify event listeners when a complete UoW of domain events is available.

- - ### Field Summary

    - ### Fields inherited from class org.qi4j.api.concern.ConcernOf

      `next`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `UnitOfWorkNotificationConcern()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `DomainEventValue` | `createEvent(EntityComposite entity, String name, Object[] args)`
    `void` | `init(Application application)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### UnitOfWorkNotificationConcern

          public UnitOfWorkNotificationConcern()

  - ### Method Detail

    - #### init

          public void init(@Structure
                  Application application)

    - #### createEvent

          public DomainEventValue createEvent(EntityComposite entity,
                                     String name,
                                     Object[] args)

      Specified by:
        `createEvent` in interface `DomainEventFactory`