类 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.
- 从以下版本开始:
- 3.0.0
- 作者:
- Andy Wilkinson, Phillip Webb
-
构造器概要
构造器构造器说明ManagementContextFactory
(WebApplicationType webApplicationType, Class<? extends WebServerFactory> webServerFactoryClass, Class<?>... autoConfigurationClasses) -
方法概要
修饰符和类型方法说明createManagementContext
(ApplicationContext parentContext) void
registerWebServerFactoryBeans
(ApplicationContext parentContext, ConfigurableApplicationContext managementContext, AnnotationConfigRegistry registry)
-
构造器详细资料
-
ManagementContextFactory
public ManagementContextFactory(WebApplicationType webApplicationType, Class<? extends WebServerFactory> webServerFactoryClass, Class<?>... autoConfigurationClasses)
-
-
方法详细资料
-
createManagementContext
-
registerWebServerFactoryBeans
public void registerWebServerFactoryBeans(ApplicationContext parentContext, ConfigurableApplicationContext managementContext, AnnotationConfigRegistry registry)
-