@Configuration @ConditionalOnClass(value={, }) public class EndpointWebMvcAutoConfiguration extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
Auto-configuration to enable Spring MVC to handle
Endpoint requests. If the ManagementServerProperties specifies a
different port to ServerProperties a new child context is created, otherwise it
is assumed that endpoint requests will be mapped and handled via an already registered
DispatcherServlet.| Constructor and Description |
|---|
EndpointWebMvcAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
Filter |
applicationContextIdFilter(org.springframework.context.ApplicationContext context) |
EndpointHandlerAdapter |
endpointHandlerAdapter() |
EndpointHandlerMapping |
endpointHandlerMapping() |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
@Bean @ConditionalOnMissingBean public EndpointHandlerMapping endpointHandlerMapping()
@Bean @ConditionalOnMissingBean public EndpointHandlerAdapter endpointHandlerAdapter()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>@Bean public Filter applicationContextIdFilter(org.springframework.context.ApplicationContext context)
Copyright © 2013. All rights reserved.