注释类型 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 the org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration key.

    ManagementContextConfiguration classes can be ordered using Order. Ordering by implementing Ordered is not supported and will have no effect.

    从以下版本开始:
    2.0.0
    • 可选元素概要

      可选元素 
      修饰符和类型可选元素说明
      ManagementContextTypevalue
      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