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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnitOfWorkNotificationConcern
public UnitOfWorkNotificationConcern()
init
public void init(@Structure
Application application)
createEvent
public DomainEventValue createEvent(EntityComposite entity,
String name,
Object[] args)
- Specified by:
createEvent
in interface DomainEventFactory