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.
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
- Author:
- Andy Wilkinson
-
Method Summary
Modifier and TypeMethodDescriptioncreateManagementContext
(ApplicationContext parent, Class<?>... configurationClasses) Create the management application context.
-
Method Details
-
createManagementContext
ConfigurableWebServerApplicationContext createManagementContext(ApplicationContext parent, Class<?>... configurationClasses) Create the management application context.- Parameters:
parent
- the parent contextconfigurationClasses
- the configuration classes- Returns:
- a configured application context
-