Annotation Interface LocalManagementPort


@Target({FIELD,METHOD,PARAMETER,ANNOTATION_TYPE}) @Retention(RUNTIME) @Documented @Value("${local.management.port}") public @interface LocalManagementPort
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}") with the assumption that the management web server implementation has configured such a property.
Since:
2.7.0
Author:
Stephane Nicoll