Annotation Type Priority


  • @Retention(RUNTIME)
    @Deprecated(forRemoval=true,
                since="3.0")
    public @interface Priority
    Deprecated, for removal: This API element is subject to removal in a future version.
    use Priority; this annotation will be removed at some time after Quarkus 3.6
    This annotation has the same semantics as Priority.

    Prior to Common Annotations 2.1, the jakarta.annotation.Priority annotation was meta-annotated @Target({TYPE, PARAMETER}) and so was only usable on class declarations and method parameters. This annotation was introduced to allow annotating producer methods and fields.

    Since Common Annotations 2.1, the jakarta.annotation.Priority is no longer meta-annotated @Target, so these two annotations are equivalent.

    A priority specified by Priority takes precedence.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int value
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Element Detail

      • value

        int value
        Deprecated, for removal: This API element is subject to removal in a future version.