@Retention(value=RUNTIME) @Target(value={METHOD,ANNOTATION_TYPE}) @Documented public @interface DomainEventPublisher
DomainEvent.| Modifier and Type | Optional Element and Description |
|---|---|
String |
publishes
Optional identification of the domain event published by this publisher.
|
DomainEventPublisher.PublisherType |
type
Marks the type of the publisher, i.e. if the publisher externalizes events or if it creates events for VM internal
consumption such as application events.
|
public abstract String publishes
DomainEvent.namespace() and DomainEvent.name(), separated by '.' (dot)public abstract DomainEventPublisher.PublisherType type
Copyright © 2021. All rights reserved.