Annotation Type Priority


@Target(TYPE) @Retention(RUNTIME) @Documented public @interface Priority
Defines the priority ordering of a bean, higher values have higher priority:

 @Named
 @Priority( 999 )
 public class ImportantComponent
 {
     //
 }
 
Implicit priorities start at zero for default beans, negative for non-default.
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
     
  • Element Details

    • value

      int value