Documentation on @EventListener SpEL features is not very clear [SPR-14812] #19378
Labels
status: backported
An issue that has been backported to maintenance branches
type: task
A general task
Milestone
Dave Syer opened SPR-14812 and commented
The documentation has an example where the condition in an
@EventListener
uses#event
in a SpEL expression. Then there is a table where all the examples are#root.*
. What is this#root
, and why is it not used in the previous example? What are "the arguments (as array) used for invoking the target"? What is the target - isn't the listener method always invoked with a single argument, which is an event (all the examples look like that)?Reference URL: http://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html#context-functionality-events-annotation
Referenced from: commits 19db042, 0254102, 196200b
Backported to: 4.2.9
The text was updated successfully, but these errors were encountered: