@ManagementContextConfiguration(value=SAME) @Import(value=org.springframework.boot.actuate.autoconfigure.web.jersey.JerseyManagementContextConfiguration.class) @EnableConfigurationProperties(value=org.springframework.boot.autoconfigure.jersey.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 java.lang.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 |
|---|---|
org.springframework.boot.autoconfigure.web.servlet.JerseyApplicationPath |
jerseyApplicationPath(org.springframework.boot.autoconfigure.jersey.JerseyProperties properties,
org.glassfish.jersey.server.ResourceConfig config) |
public JerseySameManagementContextConfiguration()
@Bean
@ConditionalOnMissingBean(value=org.springframework.boot.autoconfigure.web.servlet.JerseyApplicationPath.class)
public org.springframework.boot.autoconfigure.web.servlet.JerseyApplicationPath jerseyApplicationPath(org.springframework.boot.autoconfigure.jersey.JerseyProperties properties,
org.glassfish.jersey.server.ResourceConfig config)