Class GrpcHealthFactory

java.lang.Object
io.micronaut.grpc.server.health.GrpcHealthFactory

@Factory public class GrpcHealthFactory extends Object
Since:
3.3.0
  • Field Details

  • Constructor Details

    • GrpcHealthFactory

      public GrpcHealthFactory()
  • Method Details

    • healthStatusManager

      @Singleton @Requires(property="grpc.server.health.enabled",value="true",defaultValue="true") @Requires(classes=io.grpc.protobuf.services.HealthStatusManager.class) public io.grpc.protobuf.services.HealthStatusManager healthStatusManager()
      Creates a HealthStatusManager bean if GRPC health is enabled.
      Returns:
      The SingletonHealthStatusManager bean.