Class 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.- Since:
- 2.0.0
Constructor Summary
Constructors Constructor Description JerseyManagementChildContextConfiguration(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.jersey.ResourceConfigCustomizer> resourceConfigCustomizers)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.glassfish.jersey.server.ResourceConfig
endpointResourceConfig()
org.springframework.boot.web.servlet.ServletRegistrationBean<org.glassfish.jersey.servlet.ServletContainer>
jerseyServletRegistration()
Constructor Detail
JerseyManagementChildContextConfiguration
public JerseyManagementChildContextConfiguration(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.jersey.ResourceConfigCustomizer> resourceConfigCustomizers)
Method Detail
jerseyServletRegistration
@Bean public org.springframework.boot.web.servlet.ServletRegistrationBean<org.glassfish.jersey.servlet.ServletContainer> jerseyServletRegistration()
endpointResourceConfig
@Bean public org.glassfish.jersey.server.ResourceConfig endpointResourceConfig()