Annotation Interface ConditionalOnGrpcServerEnabled
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Conditional(org.springframework.boot.grpc.server.autoconfigure.OnEnabledGrpcServerCondition.class)
public @interface ConditionalOnGrpcServerEnabled
@Conditional that checks whether the gRPC server and optionally a
specific gRPC service is enabled. It matches if the value of the
spring.grpc.server.enabled property is not explicitly set to false and
if the gRPC service name is set, that the
spring.grpc.server.<service-name>.enabled property is not explicitly set to
false.- Since:
- 1.0.0
- Author:
- Freeman Freeman, Chris Bono
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
-