E
- the type of the handled event.public abstract class BaseDomainEventHandler<E extends DomainEvent> extends Object implements DomainEventHandler<E>
DomainEventHandler
.Modifier | Constructor and Description |
---|---|
protected |
BaseDomainEventHandler()
Creates a base domain event handler.
|
protected |
BaseDomainEventHandler(Class<E> eventClass)
Creates a base domain event handler.
|
Modifier and Type | Method and Description |
---|---|
Class<E> |
getEventClass() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onEvent
protected BaseDomainEventHandler()
public Class<E> getEventClass()
getEventClass
in interface DomainEventHandler<E extends DomainEvent>
Copyright © 2013-2018–2019 SeedStack. All rights reserved.