public interface EventSourcedEntity
EventSourcedMember,
AbstractEventSourcedAggregateRoot.getChildEntities()| Modifier and Type | Method and Description |
|---|---|
void |
handleRecursively(DomainEventMessage event)
Report the given
event for handling in the current instance (this), as well as all the
entities referenced by this instance. |
void |
registerAggregateRoot(AbstractEventSourcedAggregateRoot aggregateRootToRegister)
Register the aggregate root with this entity.
|
void registerAggregateRoot(AbstractEventSourcedAggregateRoot aggregateRootToRegister)
aggregateRootToRegister - the root of the aggregate this entity is part of.void handleRecursively(DomainEventMessage event)
event for handling in the current instance (this), as well as all the
entities referenced by this instance.event - The event to handleCopyright © 2010-2014. All Rights Reserved.