@Configuration @ConditionalOnWebApplication public class WebConfiguration extends Object implements org.springframework.boot.web.servlet.ServletContextInitializer, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
Constructor and Description |
---|
WebConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.config.annotation.WebMvcConfigurer |
configurer() |
org.h2.tools.Server |
initH2TCPServer() |
org.springframework.boot.autoconfigure.web.HttpMessageConverters |
messageConverters(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
org.springframework.validation.beanvalidation.MethodValidationPostProcessor |
methodValidationPostProcessor() |
com.fasterxml.jackson.databind.ObjectMapper |
objectMapper() |
void |
onApplicationEvent(org.springframework.context.event.ContextClosedEvent event) |
void |
onStartup(javax.servlet.ServletContext servletContext) |
org.springframework.beans.factory.config.BeanPostProcessor |
relProviderOverridingBeanPostProcessor() |
public org.h2.tools.Server initH2TCPServer()
public void onStartup(javax.servlet.ServletContext servletContext)
onStartup
in interface org.springframework.boot.web.servlet.ServletContextInitializer
@Bean @Primary public com.fasterxml.jackson.databind.ObjectMapper objectMapper()
@Bean public org.springframework.boot.autoconfigure.web.HttpMessageConverters messageConverters(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
@Bean public org.springframework.web.servlet.config.annotation.WebMvcConfigurer configurer()
@Bean public org.springframework.beans.factory.config.BeanPostProcessor relProviderOverridingBeanPostProcessor()
@Bean public org.springframework.validation.beanvalidation.MethodValidationPostProcessor methodValidationPostProcessor()
public void onApplicationEvent(org.springframework.context.event.ContextClosedEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.