Annotation Interface LocalGrpcPort
@Target({FIELD,METHOD,PARAMETER,ANNOTATION_TYPE})
@Retention(RUNTIME)
@Documented
@Value("${local.grpc.port}")
public @interface LocalGrpcPort
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.port}").- Since:
- 1.0.0
- Author:
- Dave Syer, Chris Bono