Annotation Type GrpcChannel


  • @Target({METHOD,CONSTRUCTOR,FIELD,PARAMETER})
    @Retention(RUNTIME)
    @Qualifier
    public @interface GrpcChannel
    An qualifier annotation to specify the name of a gRPC channel to inject.

    For example:

         @javax.inject.Inject
         @io.helidon.microprofile.grpc.core.Channel(name="foo")
         private io.grpc.Channel channel;
     
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String name
      Obtain the name of the channel.
    • Element Detail

      • name

        String name
        Obtain the name of the channel.
        Returns:
        name of the channel