Class ManagementContextFactory
java.lang.Object
org.springframework.boot.actuate.autoconfigure.web.ManagementContextFactory
Factory for creating a separate management context when the management web server is
running on a different port to the main application.
For internal use only.
- Since:
- 3.0.0
- Author:
- Andy Wilkinson, Phillip Webb
-
Constructor Summary
ConstructorDescriptionManagementContextFactory
(WebApplicationType webApplicationType, Class<? extends WebServerFactory> webServerFactoryClass, Class<?>... autoConfigurationClasses) -
Method Summary
Modifier and TypeMethodDescriptioncreateManagementContext
(ApplicationContext parentContext) void
registerWebServerFactoryBeans
(ApplicationContext parentContext, ConfigurableApplicationContext managementContext, AnnotationConfigRegistry registry)
-
Constructor Details
-
ManagementContextFactory
public ManagementContextFactory(WebApplicationType webApplicationType, Class<? extends WebServerFactory> webServerFactoryClass, Class<?>... autoConfigurationClasses)
-
-
Method Details
-
createManagementContext
-
registerWebServerFactoryBeans
public void registerWebServerFactoryBeans(ApplicationContext parentContext, ConfigurableApplicationContext managementContext, AnnotationConfigRegistry registry)
-