Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use javax.annotation.Priority as an alternative for @Order [SPR-11639] #16262

Closed
spring-projects-issues opened this issue Mar 31, 2014 · 1 comment
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Mar 31, 2014

Stéphane Nicoll opened SPR-11639 and commented

This is a follow-up issue of #15179 to consider @Priority as an alternative for @Order.

Update the features that @Order handles so that @Priority can be used with the same semantic.


Issue Links:

@spring-projects-issues
Copy link
Collaborator Author

Stéphane Nicoll commented

Introduced OrderUtils that gives the order value based on a type declaration (i.e. Class<?> instance). That utility handle @Order and @Priority if present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants