注释类型 ManagementContextConfiguration
@Target(TYPE) @Retention(RUNTIME) @Documented @Configuration public @interface ManagementContextConfiguration
Specialized@Configuration
class that defines configuration specific for the management context. Configurations should be registered in/META-INF/spring.factories
under theorg.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration
key.ManagementContextConfiguration
classes can be ordered usingOrder
. Ordering by implementingOrdered
is not supported and will have no effect.- 从以下版本开始:
- 2.0.0
可选元素概要
可选元素 修饰符和类型 可选元素 说明 ManagementContextType
value
Specifies the type of management context that is required for this configuration to be applied.
元素详细资料
value
ManagementContextType value
Specifies the type of management context that is required for this configuration to be applied.- 返回:
- the required management context type
- 从以下版本开始:
- 2.0.0
- 默认值:
- org.springframework.boot.actuate.autoconfigure.web.ManagementContextType.ANY