Annotation Type Priority


  • @Target({TYPE,PARAMETER})
    @Retention(RUNTIME)
    @Documented
    public @interface Priority
    Annotation to declare a priority for a class. This is used by other specs, e.g. CDI where it is used to define the priority of Interceptors and Decorators.
    Since:
    1.2
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int value
      The priority value.
    • Element Detail

      • value

        int value
        The priority value. The higher the value, the more important the annotated class is.