Annotation Type 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.

    Since:
    2.0.0
    • Optional Element Summary

      Optional Elements 
      Modifier and TypeOptional ElementDescription
      ManagementContextTypevalue
      Specifies the type of management context that is required for this configuration to be applied.
    • Element Detail

      • value

        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