You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A few refactorings for more readable code in the publishing method interceptor. Tweaks to the reference documentation to include the CrudRepository methods that now also publish the events.
Original pull request: #436.
Copy file name to clipboardExpand all lines: src/main/asciidoc/repositories.adoc
+1-1
Original file line number
Diff line number
Diff line change
@@ -1090,7 +1090,7 @@ class AnAggregateRoot {
1090
1090
<2> After all events have been published, we have a method annotated with `@AfterDomainEventPublication`. It can be used to potentially clean the list of events to be published (among other uses).
1091
1091
====
1092
1092
1093
-
The methods are called every time one of a Spring Data repository's `save(…)`methods is called.
1093
+
The methods are called every time one of a Spring Data repository's `save(…)`, `saveAll(…)`, `delete(…)` or `deleteAll(…)` methods are called.
Copy file name to clipboardExpand all lines: src/main/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessor.java
0 commit comments