org.springframework.boot.actuate.autoconfigure.web

Annotation Type ManagementContextConfiguration



  • @Target(value=TYPE)
     @Retention(value=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.

    Since:
    2.0.0
    Author:
    Phillip Webb, Andy Wilkinson
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element and Description
      ManagementContextType value
      Specifies the type of management context that is required for this configuration to be applied.
    • Element Detail

      • value

        public abstract ManagementContextType value
        Specifies the type of management context that is required for this configuration to be applied.
        Returns:
        the required management context type
        Since:
        2.0.0
        Default:
        org.springframework.boot.actuate.autoconfigure.web.ManagementContextType.ANY