Annotation Interface LocalGrpcServerPort


@Target({FIELD,METHOD,PARAMETER,ANNOTATION_TYPE}) @Retention(RUNTIME) @Documented @Value("${local.grpc.server.port}") public @interface LocalGrpcServerPort
Annotation at the field or method/constructor parameter level that injects the gRPC server port that was allocated at runtime. Provides a convenient alternative for @Value("${local.grpc.server.port}").
Since:
4.1.0
Author:
Dave Syer, Chris Bono, Phillip Webb