File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10652,7 +10652,7 @@ architectures that build upon the well-known Spring programming model.
10652
10652
[[context-functionality-events-annotation]]
10653
10653
==== Annotation-based Event Listeners
10654
10654
10655
- As of Spring 4.2, you can register an event listener on any public method of a managed
10655
+ As of Spring 4.2, you can register an event listener on any method of a managed
10656
10656
bean by using the `@EventListener` annotation. The `BlockedListNotifier` can be rewritten as
10657
10657
follows:
10658
10658
@@ -10793,7 +10793,7 @@ NOTE: This feature is not supported for
10793
10793
<<context-functionality-events-async, asynchronous listeners>>.
10794
10794
10795
10795
This new method publishes a new `ListUpdateEvent` for every `BlockedListEvent` handled by the
10796
- method above. If you need to publish several events, you can return a `Collection` of events
10796
+ method above. If you need to publish several events, you can return a `Collection` or an `array` of events
10797
10797
instead.
10798
10798
10799
10799
You can’t perform that action at this time.
0 commit comments