public interface DomainEventPublisher
DomainEvent
instances to be
handled by DomainEventHandler
implementations.DomainEvent
,
DomainEventHandler
Modifier and Type | Method and Description |
---|---|
<E extends DomainEvent> |
publish(E event)
Publishes an event.
|
<E extends DomainEvent> void publish(E event)
E
- the event type.event
- the published event instance.Copyright © 2013-2018–2019 SeedStack. All rights reserved.