@Factory
public class GrpcHealthFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HEALTH_ENABLED |
Constructor and Description |
---|
GrpcHealthFactory() |
Modifier and Type | Method and Description |
---|---|
io.grpc.protobuf.services.HealthStatusManager |
healthStatusManager()
Creates a
HealthStatusManager bean if GRPC health is enabled. |
public static final java.lang.String HEALTH_ENABLED
@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()
HealthStatusManager
bean if GRPC health is enabled.HealthStatusManager
bean.