Annotation Interface BeanPriority


@Retention(RUNTIME) @Target(TYPE) public @interface BeanPriority
Marker annotation for bean priority to allow overriding bean types.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    Priority of the bean.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Default priority for beans.
  • Field Details

    • DEFAULT_PRIORITY

      static final int DEFAULT_PRIORITY
      Default priority for beans.
      See Also:
  • Element Details

    • value

      int value
      Priority of the bean. The lower the value, the higher the priority.
      Returns:
      Priority of the bean