Annotation Interface TargetMethod


@Target(METHOD) @Retention(RUNTIME) public @interface TargetMethod
Target method annotation. Can be used to express to what exact service method a call should be routed to.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The method name.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
    The method parameters.
  • Element Details

    • value

      String value
      The method name.
    • parameters

      Class<?>[] parameters
      The method parameters.
      Default:
      {}