Class GrpcServerCdiExtension
- java.lang.Object
-
- io.helidon.microprofile.grpc.server.GrpcServerCdiExtension
-
- All Implemented Interfaces:
Extension
public class GrpcServerCdiExtension extends Object implements Extension
A CDI extension that will start thegRPC server
.The server is started when the
AfterDeploymentValidation
event is received and will be stopped when theBeforeShutdown
event is received.If no gRPC services are discovered the gRPC server will not be started.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GrpcServerCdiExtension.ServerProducer
A CDI producer that can supply the runningGrpcServer
an in-processChannel
.
-
Constructor Summary
Constructors Constructor Description GrpcServerCdiExtension()
-