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 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.- Since:
- 2.0.0
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description ManagementContextType
value
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