Annotation Type AlternativePriority


  • @Retention(RUNTIME)
    @Target({METHOD,TYPE,FIELD})
    @Deprecated
    public @interface AlternativePriority
    Deprecated.
    Use Alternative and Priority/Priority instead
    If a bean is annotated with this annotation, it is considered an enabled alternative with given priority. Effectively, this is a shortcut for Alternative plus Priority annotations. This annotation can be used not only on bean classes, but also method and field producers (unlike pure Priority).
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int value
      Deprecated.
      The priority value of this alternative
    • Element Detail

      • value

        int value
        Deprecated.
        The priority value of this alternative