From fd2c0cc982ed2ebd02b20db391e099f419976106 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 8 Jul 2015 18:09:16 +0200 Subject: [PATCH] Polish --- .../org/springframework/context/event/EventListener.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/spring-context/src/main/java/org/springframework/context/event/EventListener.java b/spring-context/src/main/java/org/springframework/context/event/EventListener.java index 74fd596782..0cb1955afa 100644 --- a/spring-context/src/main/java/org/springframework/context/event/EventListener.java +++ b/spring-context/src/main/java/org/springframework/context/event/EventListener.java @@ -39,9 +39,12 @@ import org.springframework.core.annotation.AliasFor; * XML element. * *

Annotated methods may have a non-{@code void} return type. When they - * do, the result of the method invocation is sent as a new event. It is - * also possible to define the order in which listeners for a certain event - * are invoked. To do so, add a regular + * do, the result of the method invocation is sent as a new event. If the + * return type is either an array or a collection, each element is sent as + * a new event. + * + *

It is also possible to define the order in which listeners for a + * certain event are invoked. To do so, add a regular * {@link org.springframework.core.annotation.Order @Order} annotation * alongside this annotation. *