@Documented @Retention(value=RUNTIME) @Target(value={METHOD,ANNOTATION_TYPE}) public @interface DomainEventHandler
DomainEvent.public abstract String namespace
DomainEvent.namespace(). When
leaving the default value, it is assumed that the method signature makes clear what event is consumed. If the
handler takes care of all events of a specific namespace, the value of this field needs to be set to the respective
namespace and the name() needs to be set accordingly. If the handler doesn't care about
the namespace, the value may be set to the '*' (asterisk) placeholder.public abstract String name
DomainEvent.name(). When leaving
the default value, it is assumed that the method signature makes clear what event is consumed. If the handler takes
care of all events of a specific namespace, the value of this field needs to be set to the '*' asterisk
placeholder.Copyright © 2023. All rights reserved.