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;
-
-
Element Detail
-
name
String name
Obtain the name of the channel.- Returns:
- name of the channel
-
-