• S
    Support for multiple events per method · bf786c31
    Stephane Nicoll 提交于
    In addition to specifying the event type to listen to via a method
    parameter, any @EventListener annotated method can now alternatively
    define the event type(s) to listen to via the "classes" attributes (that
    is aliased to "value").
    
    Something like
    
    @EventListener({FooEvent.class, BarEvent.class})
    public void handleFooBar() { .... }
    
    Issue: SPR-13156
    bf786c31
core-beans.adoc 303.4 KB