批注接口 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}").
从以下版本开始:
2.7.0
作者:
Stephane Nicoll