@Configuration
@EnableWebMvc
@EnableScheduling
@ComponentScan(basePackages={"org.apache.logging.log4j.catalog.jpa","org.apache.logging.log4j.audit.service"})
@PropertySource(value=" classpath:catalog-${env:}config.properties",
ignoreResourceNotFound=true)
public class WebMvcAppContext
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
| Constructor and Description |
|---|
WebMvcAppContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
AuditManager |
auditManager() |
CatalogReader |
catalogReader() |
void |
configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer) |
void |
configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator |
defaultAdvisorAutoProxyCreator() |
org.springframework.http.converter.json.MappingJackson2HttpMessageConverter |
jsonMessageConverter() |
LocalAuthorizationInterceptor |
localAuthorizationInterceptor() |
org.springframework.context.MessageSource |
messageSource() |
com.fasterxml.jackson.databind.ObjectMapper |
objectMapper() |
List<org.springframework.http.client.ClientHttpRequestInterceptor> |
restInterceptors() |
org.springframework.web.servlet.ViewResolver |
viewResolver() |
addArgumentResolvers, addCorsMappings, addFormatters, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic void configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer)
configureDefaultServletHandling in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerconfigureDefaultServletHandling in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddResourceHandlers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
configureMessageConverters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerconfigureMessageConverters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddInterceptors in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter@Bean public org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator defaultAdvisorAutoProxyCreator()
@Bean public org.springframework.web.servlet.ViewResolver viewResolver()
@Bean public org.springframework.context.MessageSource messageSource()
@Bean public LocalAuthorizationInterceptor localAuthorizationInterceptor()
@Bean public com.fasterxml.jackson.databind.ObjectMapper objectMapper()
@Bean public org.springframework.http.converter.json.MappingJackson2HttpMessageConverter jsonMessageConverter()
@Bean public List<org.springframework.http.client.ClientHttpRequestInterceptor> restInterceptors()
@Bean public CatalogReader catalogReader()
@Bean public AuditManager auditManager()
Copyright © 2016-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.