Class ChannelProducer
java.lang.Object
io.helidon.microprofile.grpc.client.ChannelProducer
A producer of gRPC
Channels
.-
Method Summary
Modifier and TypeMethodDescriptionio.grpc.Channel
findChannel
(String name) Obtain the namedChannel
.io.grpc.Channel
get
(InjectionPoint injectionPoint) Produces a gRPCChannel
.
-
Method Details
-
get
Produces a gRPCChannel
.- Parameters:
injectionPoint
- the injection point- Returns:
- a gRPC
Channel
-
findChannel
Obtain the namedChannel
.- Parameters:
name
- the channel name- Returns:
- the named
Channel
-