@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface Priority
@Named @Priority( 999 ) public class ImportantComponent { // }Implicit priorities start at zero for default beans, negative for non-default.
RankingFunction
,
BeanEntry.getRank()
Modifier and Type | Required Element and Description |
---|---|
int |
value |
Copyright © 2016. All rights reserved.