Annotation Interface ConditionalOnGrpcClientEnabled
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@ConditionalOnClass(io.grpc.stub.AbstractStub.class)
@ConditionalOnProperty(prefix="spring.grpc.client",
name="enabled",
matchIfMissing=true)
public @interface ConditionalOnGrpcClientEnabled
@Conditional that only matches when the io.grpc:grpc-stub
module is in the classpath and the spring.grpc.client.enabled property is not
explicitly set to false.- Since:
- 1.0.0
- Author:
- Freeman Freeman, Chris Bono