Closed
Description
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