Annotation Interface ConditionalOnSpringGrpc
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@ConditionalOnClass({io.grpc.BindableService.class,GrpcServerFactory.class})
public @interface ConditionalOnSpringGrpc
@Conditional that only matches when Spring gRPC is on the classpath
(i.e. BindableService and GrpcServerFactory are on the classpath).- Since:
- 1.0.0
- Author:
- Freeman Freeman, Chris Bono