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
Nested ClassesModifier and TypeClassDescriptionstatic classA CDI producer that can supply the runningGrpcServeran in-processChannel. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GrpcServerCdiExtension
public GrpcServerCdiExtension()
-