You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ApplicationListener-like annotation for consuming application events [SPR-11622] #16245
This is unlikely since the 4.2 branch will immediately supersede the 4.1 branch, just like 4.1 did for 4.0. And the annotated listener feature won't be trivial since we intend to do a rather comprehensive revision in that space, so it does not suggest itself as a backport candidate.
Fortunately, 4.2 won't raise the system requirements: It'll be a straightforward drop-in for 4.1, just with a bunch of new and revised features.
Note that we have a rather aggressive release plan these days. 4.2 is going out by mid next year at the latest, with an RC scheduled for May. This is just about as much time as we need for proper design cycles here. Feel free to track 4.2 snapshots early as they become available in January...
There is a first cut available in 1bb2a20 (see also the event branch of my fork).
My current version needs to be largely reviewed and the project that Jean-Baptiste Nizet has provided in #16696 has interesting ideas for the post processing phase ( SmartInitializationSingleton is not invoked on lazy beans though).
a method of a managed bean can now be annotated with @EventListener and we create an ApplicationListener matching the method argument. Besides, arbitrary objects can now be published as events.
Activity
spring-projects-issues commentedon Nov 20, 2014
cemo koc commented
I will be very happy If this will be backported to 4.1.x branch as well.
spring-projects-issues commentedon Nov 20, 2014
Juergen Hoeller commented
This is unlikely since the 4.2 branch will immediately supersede the 4.1 branch, just like 4.1 did for 4.0. And the annotated listener feature won't be trivial since we intend to do a rather comprehensive revision in that space, so it does not suggest itself as a backport candidate.
Fortunately, 4.2 won't raise the system requirements: It'll be a straightforward drop-in for 4.1, just with a bunch of new and revised features.
Juergen
spring-projects-issues commentedon Nov 20, 2014
cemo koc commented
The only downside of 4.2 for me is that we will have to wait at least mid of the next year. Thanks for the information.
spring-projects-issues commentedon Nov 20, 2014
Juergen Hoeller commented
Note that we have a rather aggressive release plan these days. 4.2 is going out by mid next year at the latest, with an RC scheduled for May. This is just about as much time as we need for proper design cycles here. Feel free to track 4.2 snapshots early as they become available in January...
Juergen
spring-projects-issues commentedon Jan 13, 2015
Stéphane Nicoll commented
There is a first cut available in 1bb2a20 (see also the
eventbranch of my fork).My current version needs to be largely reviewed and the project that Jean-Baptiste Nizet has provided in #16696 has interesting ideas for the post processing phase (
SmartInitializationSingletonis not invoked on lazy beans though).spring-projects-issues commentedon Feb 10, 2015
Stéphane Nicoll commented
a method of a managed bean can now be annotated with
@EventListenerand we create anApplicationListenermatching the method argument. Besides, arbitrary objects can now be published as events.