Class GrpcHealthFactory


  • @Factory
    public class GrpcHealthFactory
    extends java.lang.Object
    Since:
    3.3.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String HEALTH_ENABLED  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.grpc.protobuf.services.HealthStatusManager healthStatusManager()
      Creates a HealthStatusManager bean if GRPC health is enabled.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GrpcHealthFactory

        public GrpcHealthFactory()
    • Method Detail

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