We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0417b89 commit d32216aCopy full SHA for d32216a
src/asciidoc/core-beans.adoc
@@ -7852,6 +7852,19 @@ This new method will publish a new `ListUpdateEvent` for every `BlackListEvent`
7852
by the method above. If you need to publish several events, just return a `Collection` of
7853
events instead.
7854
7855
+Finally if you need the listener to be invoked before another one, just add the `@Order`
7856
+annotation to the method declaration:
7857
+
7858
+[source,java,indent=0]
7859
+[subs="verbatim,quotes"]
7860
+----
7861
+ @EventListener
7862
+ @Order(42)
7863
+ public void processBlackListEvent(BlackListEvent event) {
7864
+ // notify appropriate parties via notificationAddress...
7865
+ }
7866
7867
7868
[[context-functionality-events-generics]]
7869
==== Generic Events
7870
0 commit comments