Annotation Type Priority


The Priority annotation can be applied to classes to indicate the wiring priority of a bean to resolve cases where multiple beans of the same type exist.

Beans can be returned using other Priority annotation such as jakartak.annotation.Priority or any custom priority annotation that has an int value() attribute.

See Also:
  • Required Element Summary

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