@Configuration
@ComponentScan(value="org.fenixedu.bennu")
public class BennuSpringConfiguration
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
implements org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
BennuSpringConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
void |
afterPropertiesSet() |
CoreConfiguration.ConfigurationProperties |
bennuCoreConfiguration() |
void |
configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer) |
protected void |
configureHandlerExceptionResolvers(List<org.springframework.web.servlet.HandlerExceptionResolver> exceptionResolvers) |
org.springframework.core.convert.ConversionService |
conversionService(org.springframework.core.convert.support.GenericConversionService service) |
CSRFTokenRepository |
csrfTokenRepository() |
org.springframework.web.servlet.ViewResolver |
getViewResolver() |
I18NBean |
i18n(org.springframework.context.MessageSource messageSource) |
org.springframework.web.servlet.LocaleResolver |
localeResolver() |
org.springframework.context.MessageSource |
messageSource(org.springframework.context.ApplicationContext context) |
org.springframework.web.multipart.MultipartResolver |
multipartResolver() |
PortalHandlerMapping |
requestMappingHandlerMapping() |
addArgumentResolvers, addCorsMappings, addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, beanNameHandlerMapping, configureAsyncSupport, configureContentNegotiation, configureMessageConverters, configurePathMatch, configureViewResolvers, createRequestMappingHandlerMapping, defaultServletHandlerMapping, extendMessageConverters, getApplicationContext, getConfigurableWebBindingInitializer, getCorsConfigurations, getDefaultMediaTypes, getInterceptors, getMessageCodesResolver, getMessageConverters, getPathMatchConfigurer, getServletContext, getValidator, handlerExceptionResolver, httpRequestHandlerAdapter, mvcContentNegotiationManager, mvcConversionService, mvcPathMatcher, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcValidator, mvcViewResolver, requestMappingHandlerAdapter, resourceHandlerMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, viewControllerHandlerMapping@Bean public CoreConfiguration.ConfigurationProperties bennuCoreConfiguration()
@Bean public org.springframework.web.servlet.ViewResolver getViewResolver()
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupportpublic void configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer)
configureDefaultServletHandling in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport@Bean public org.springframework.context.MessageSource messageSource(org.springframework.context.ApplicationContext context)
@Bean @Order public CSRFTokenRepository csrfTokenRepository()
@Bean public I18NBean i18n(org.springframework.context.MessageSource messageSource)
@Bean public org.springframework.web.servlet.LocaleResolver localeResolver()
public PortalHandlerMapping requestMappingHandlerMapping()
requestMappingHandlerMapping in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport@Bean public org.springframework.core.convert.ConversionService conversionService(org.springframework.core.convert.support.GenericConversionService service)
@Bean public org.springframework.web.multipart.MultipartResolver multipartResolver()
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionprotected void configureHandlerExceptionResolvers(List<org.springframework.web.servlet.HandlerExceptionResolver> exceptionResolvers)
configureHandlerExceptionResolvers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupportCopyright © 2018 FenixEdu. All rights reserved.