LocalManagementPort
@Target(value = [ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.ANNOTATION_TYPE] )
@Value(value = "${local.management.port}")
Annotation at the field or method/constructor parameter level that injects the HTTP management port that was allocated at runtime. Provides a convenient alternative for @Value("${local.management.port}")
.
Author
Stephane Nicoll
Since
2.7.0