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
Support @Order on ApplicationListeners [SPR-12410] #17018
AbstractApplicationEventMulticaster currently sorts ApplicationListener instances based on the Ordered interface, but the sorting algorithm does not honor annotations.
At the time of this writing, there are two invocations of OrderComparator.sort() within AbstractApplicationEventMulticaster.
Proposal
Refactor AbstractApplicationEventMulticaster to use AnnotationAwareOrderComparator.sort() instead of OrderComparator.sort().
Activity
spring-projects-issues commentedon Feb 16, 2015
Stéphane Nicoll commented
ApplicationListener implementations can now be ordered either using
@Orderor by implementing theOrderedinterface.