org.qi4j.library.eventsourcing.application.factory
Class UnitOfWorkApplicationEvents

java.lang.Object
  extended by org.qi4j.library.eventsourcing.application.factory.UnitOfWorkApplicationEvents

public class UnitOfWorkApplicationEvents
extends Object

List of events for the current UnitOfWork. This will be updated by the DomainEventFactory.


Constructor Summary
UnitOfWorkApplicationEvents()
           
 
Method Summary
 void add(ApplicationEvent event)
           
 List<ApplicationEvent> getEvents()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnitOfWorkApplicationEvents

public UnitOfWorkApplicationEvents()
Method Detail

add

public void add(ApplicationEvent event)

getEvents

public List<ApplicationEvent> getEvents()