@ManagementContextConfiguration(value=CHILD) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value=org.glassfish.jersey.server.ResourceConfig.class) @ConditionalOnMissingClass(value="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.Constructor and Description |
---|
JerseyManagementChildContextConfiguration(ObjectProvider<List<ResourceConfigCustomizer>> resourceConfigCustomizers) |
Modifier and Type | Method and Description |
---|---|
org.glassfish.jersey.server.ResourceConfig |
endpointResourceConfig() |
ServletRegistrationBean<org.glassfish.jersey.servlet.ServletContainer> |
jerseyServletRegistration() |
public JerseyManagementChildContextConfiguration(ObjectProvider<List<ResourceConfigCustomizer>> resourceConfigCustomizers)
@Bean public ServletRegistrationBean<org.glassfish.jersey.servlet.ServletContainer> jerseyServletRegistration()
@Bean public org.glassfish.jersey.server.ResourceConfig endpointResourceConfig()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.