Class ChannelProducer
- java.lang.Object
-
- io.helidon.microprofile.grpc.client.ChannelProducer
-
@ApplicationScoped public class ChannelProducer extends Object
A producer of gRPCChannels
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.grpc.Channel
get(InjectionPoint injectionPoint)
Produces a gRPCChannel
.io.grpc.Channel
getDefaultChannel()
Produces the default gRPCChannel
.
-
-
-
Method Detail
-
get
@Produces public io.grpc.Channel get(InjectionPoint injectionPoint)
Produces a gRPCChannel
.- Parameters:
injectionPoint
- the injection point- Returns:
- a gRPC
Channel
-
getDefaultChannel
@Produces public io.grpc.Channel getDefaultChannel()
Produces the default gRPCChannel
.- Returns:
- the default gRPC
Channel
-
-