@Factory
public class GrpcHealthFactory
extends java.lang.Object
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. |
@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.