@ManagementContextConfiguration(value=SAME) @Import(value=org.springframework.boot.actuate.autoconfigure.web.jersey.JerseyManagementContextConfiguration.class) @EnableConfigurationProperties(value=JerseyProperties.class) @ConditionalOnMissingBean(value=org.glassfish.jersey.server.ResourceConfig.class) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value=org.glassfish.jersey.server.ResourceConfig.class) @ConditionalOnMissingClass(value="org.springframework.web.servlet.DispatcherServlet") public class JerseySameManagementContextConfiguration extends Object
ManagementContextConfiguration
for Jersey infrastructure when the management
context is the same as the main application context.Constructor and Description |
---|
JerseySameManagementContextConfiguration() |
Modifier and Type | Method and Description |
---|---|
JerseyApplicationPath |
jerseyApplicationPath(JerseyProperties properties,
org.glassfish.jersey.server.ResourceConfig config) |
public JerseySameManagementContextConfiguration()
@Bean @ConditionalOnMissingBean(value=JerseyApplicationPath.class) public JerseyApplicationPath jerseyApplicationPath(JerseyProperties properties, org.glassfish.jersey.server.ResourceConfig config)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.