Skip to content

Commit

Permalink
ArC: fix documentation of InjectableBean.getPriority()
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladicek committed Oct 4, 2024
1 parent 688900d commit 2eb9c33
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,14 @@ default boolean isSuppressed() {
/**
* A bean may have a priority assigned.
* <p>
* Class-based beans can specify the priority declaratively via {@link jakarta.annotation.Priority}. If no priority
* annotation is used then a bean has the priority of value 0.
* Class-based beans and producer beans can specify the priority declaratively via {@link jakarta.annotation.Priority}.
* If no priority annotation is used then a bean has the priority of value 0.
* <p>
* This priority is used to sort the resolved beans when performing programmatic lookup via
* {@link Instance} or when injecting a list of beans by means of the {@link All} qualifier.
*
* @return the priority
* @see Priority
* @see jakarta.annotation.Priority
*/
default int getPriority() {
return 0;
Expand Down

0 comments on commit 2eb9c33

Please sign in to comment.