注释类型 ConditionalOnManagementPort
@Retention(RUNTIME) @Target({TYPE,METHOD}) @Documented @Conditional(org.springframework.boot.actuate.autoconfigure.web.server.OnManagementPortCondition.class) public @interface ConditionalOnManagementPort
Conditional
that matches based on the configuration of the management port.- 从以下版本开始:
- 2.0.0
必需元素概要
所需元素 修饰符和类型 必需的元素 说明 ManagementPortType
value
TheManagementPortType
to match.
元素详细资料
value
ManagementPortType value
TheManagementPortType
to match.- 返回:
- the port type