@Retention(value=RUNTIME) @Target(value={METHOD,ANNOTATION_TYPE}) public @interface DomainEvents
DomainEvents
can be used on methods of aggregate roots managed by Spring Data repositories to publish the
events returned by that method as Spring application events.ApplicationEventPublisher
,
AfterDomainEventPublication
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.