类 JerseyManagementChildContextConfiguration
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.web.jersey.JerseyManagementChildContextConfiguration
@ManagementContextConfiguration(CHILD) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(org.glassfish.jersey.server.ResourceConfig.class) @ConditionalOnMissingClass("org.springframework.web.servlet.DispatcherServlet") public class JerseyManagementChildContextConfiguration extends Object
ManagementContextConfiguration
for Jersey infrastructure when a separate management context with a web server running on a different port is required.- 从以下版本开始:
- 2.0.0
构造器概要
构造器 构造器 说明 JerseyManagementChildContextConfiguration(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.jersey.ResourceConfigCustomizer> resourceConfigCustomizers)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.glassfish.jersey.server.ResourceConfig
endpointResourceConfig()
org.springframework.boot.web.servlet.ServletRegistrationBean<org.glassfish.jersey.servlet.ServletContainer>
jerseyServletRegistration()
构造器详细资料
JerseyManagementChildContextConfiguration
public JerseyManagementChildContextConfiguration(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.jersey.ResourceConfigCustomizer> resourceConfigCustomizers)
方法详细资料
jerseyServletRegistration
@Bean public org.springframework.boot.web.servlet.ServletRegistrationBean<org.glassfish.jersey.servlet.ServletContainer> jerseyServletRegistration()
endpointResourceConfig
@Bean public org.glassfish.jersey.server.ResourceConfig endpointResourceConfig()