E
- the type of event which is handled.public interface DomainEventHandler<E extends DomainEvent>
DomainEventPublisher
.DomainEvent
,
DomainEventPublisher
Modifier and Type | Method and Description |
---|---|
Class<E> |
getEventClass() |
void |
onEvent(E event)
Called when an event of the correct type must be handled.
|
Copyright © 2013-2018–2019 SeedStack. All rights reserved.