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 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.

  • Constructor Details

    • GrpcServerCdiExtension

      public GrpcServerCdiExtension()