Annotation Type BindingPriority


  • @Documented
    @Retention(RUNTIME)
    @Target(METHOD)
    public @interface BindingPriority
    Defines a binding priority for a target method. If two target methods can be bound to a source method, the one with the higher priority will be selected.
    See Also:
    MethodDelegation, TargetMethodAnnotationDrivenBinder
    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static int DEFAULT
      The default priority for methods not carrying the BindingPriority annotation.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int value
      The binding priority for the annotated method.
    • Field Detail

      • DEFAULT

        static final int DEFAULT
        The default priority for methods not carrying the BindingPriority annotation.
    • Element Detail

      • value

        int value
        The binding priority for the annotated method. A method of higher priority will be preferred over a method of lower priority.
        Returns:
        The priority for the annotated method.