@Import(value={org.molgenis.data.platform.config.PlatformConfig.class,RdfConverter.class})
public abstract class MolgenisWebAppConfig
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
| Constructor and Description |
|---|
MolgenisWebAppConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFormatters(org.springframework.format.FormatterRegistry registry) |
protected void |
addFreemarkerVariables(Map<String,Object> freemarkerVariables) |
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
ApplicationContextProvider |
applicationContextProvider()
Bean that allows referencing Spring managed beans from Java code which is not managed by Spring
|
void |
configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer) |
void |
configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
void |
configurePathMatch(org.springframework.web.servlet.config.annotation.PathMatchConfigurer configurer) |
CorsInterceptor |
corsInterceptor() |
PropertiesMessageSource |
dataexplorerMessageSource() |
FileStore |
fileStore() |
PropertiesMessageSource |
formMessageSource() |
org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer |
freeMarkerConfigurer()
Configure freemarker.
|
org.springframework.web.servlet.handler.MappedInterceptor |
mappedCorsInterceptor() |
MenuManagerService |
menuManagerService() |
MenuReaderService |
menuReaderService() |
MolgenisInterceptor |
molgenisInterceptor() |
PluginInterceptor |
molgenisPluginInterceptor() |
Ui |
molgenisUi() |
org.springframework.web.multipart.MultipartResolver |
multipartResolver() |
static org.springframework.context.support.PropertySourcesPlaceholderConfigurer |
properties() |
ResourceFingerprintRegistry |
resourceFingerprintRegistry() |
ThemeFingerprintRegistry |
themeFingerprintRegistry() |
void |
validateMolgenisServerProperties() |
org.springframework.web.servlet.ViewResolver |
viewResolver()
Enable spring freemarker viewresolver.
|
addArgumentResolvers, addCorsMappings, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic 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 configurePathMatch(org.springframework.web.servlet.config.annotation.PathMatchConfigurer configurer)
configurePathMatch in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerconfigurePathMatch in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)
configureContentNegotiation in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerconfigureContentNegotiation in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter@Bean public org.springframework.web.servlet.handler.MappedInterceptor mappedCorsInterceptor()
public 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.WebMvcConfigurerAdapterpublic void addFormatters(org.springframework.format.FormatterRegistry registry)
addFormatters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddFormatters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter@Bean public ResourceFingerprintRegistry resourceFingerprintRegistry()
@Bean public ThemeFingerprintRegistry themeFingerprintRegistry()
@Bean public MolgenisInterceptor molgenisInterceptor()
@Bean public PropertiesMessageSource formMessageSource()
@Bean public PropertiesMessageSource dataexplorerMessageSource()
@Bean public PluginInterceptor molgenisPluginInterceptor()
@Bean public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer properties()
@Bean public FileStore fileStore()
@Bean public ApplicationContextProvider applicationContextProvider()
@Bean public org.springframework.web.servlet.ViewResolver viewResolver()
@Bean public org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer freeMarkerConfigurer()
protected void addFreemarkerVariables(Map<String,Object> freemarkerVariables)
@Bean public org.springframework.web.multipart.MultipartResolver multipartResolver()
@Bean public MenuReaderService menuReaderService()
@Bean public MenuManagerService menuManagerService()
@Bean public Ui molgenisUi()
@Bean public CorsInterceptor corsInterceptor()
@PostConstruct public void validateMolgenisServerProperties()
Copyright © 2017. All rights reserved.