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