Annotation Interface DomainEvents


@Retention(RUNTIME) @Target({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.
Since:
1.13
Author:
Oliver Gierke
See Also: