Interface ManagementContextFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ManagementContextFactory
Factory for creating a separate management context when the management web server is running on a different port to the main application.- Since:
- 2.0.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.boot.web.context.ConfigurableWebServerApplicationContext
createManagementContext(org.springframework.context.ApplicationContext parent, Class<?>... configurationClasses)
Create the management application context.
Method Detail
createManagementContext
org.springframework.boot.web.context.ConfigurableWebServerApplicationContext createManagementContext(org.springframework.context.ApplicationContext parent, Class<?>... configurationClasses)
Create the management application context.- Parameters:
parent
- the parent contextconfigurationClasses
- the configuration classes- Returns:
- a configured application context