Skip to content

AbstractApplicationEventMulticaster does not sort listeners using @Order [SPR-10057] #14690

Closed
@spring-projects-issues

Description

@spring-projects-issues

Jorg Heymans opened SPR-10057 and commented

AbstractApplicationEventMulticaster.getApplicationListeners calles OrderComparator.sort at the end, but this sort only takes into account the Ordered interface which listeners are then forced to implement. It would be nice to be able to instead be able to use @Order on the listener.


Affects: 3.1.3

Issue Links:

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: duplicateA duplicate of another issuetype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions