Annotation Interface GrpcClient


@Qualifier @Target({FIELD,PARAMETER}) @Retention(RUNTIME) public @interface GrpcClient
Qualifies an injected gRPC client.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The name is used to configure the gRPC client, e.g.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Constant value for value() indicating that the annotated element's name should be used as-is.
  • Field Details

    • ELEMENT_NAME

      static final String ELEMENT_NAME
      Constant value for value() indicating that the annotated element's name should be used as-is.
      See Also:
  • Element Details

    • value

      String value
      The name is used to configure the gRPC client, e.g. the location, TLS/SSL, etc.
      Returns:
      the client name
      Default:
      "<<element name>>"