Class WebAppConfig

  • All Implemented Interfaces:
    org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    @Configuration
    @EnableTransactionManagement
    @EnableAspectJAutoProxy
    @EnableWebMvc
    @EnableAsync
    @ComponentScan(basePackages="org.molgenis")
    @Import({WebAppSecurityConfig.class,org.molgenis.data.postgresql.DatabaseConfig.class,org.molgenis.core.ui.data.config.HttpClientConfig.class,org.molgenis.data.elasticsearch.client.ElasticsearchConfig.class,org.molgenis.web.converter.GsonConfig.class})
    public class WebAppConfig
    extends org.molgenis.core.ui.MolgenisWebAppConfig
    • Constructor Summary

      Constructors 
      Constructor Description
      WebAppConfig()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer freeMarkerConfigurer()
      Configures Freemarker
      • Methods inherited from class org.molgenis.core.ui.MolgenisWebAppConfig

        addArgumentResolvers, addFormatters, addFreemarkerVariables, addInterceptors, addResourceHandlers, applicationContextProvider, asyncTaskExecutor, configureAsyncSupport, configureContentNegotiation, configureMessageConverters, configurePathMatch, dataexplorerMessageSource, feedbackMessageSource, fileStore, formMessageSource, menuReaderService, molgenisInterceptor, molgenisPluginInterceptor, multipartResolver, properties, resourceFingerprintRegistry, uiFormMessageSource, viewResolver
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer

        addCorsMappings, addReturnValueHandlers, addViewControllers, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
    • Constructor Detail

      • WebAppConfig

        public WebAppConfig()
    • Method Detail

      • freeMarkerConfigurer

        public org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer freeMarkerConfigurer()
        Configures Freemarker
        Overrides:
        freeMarkerConfigurer in class org.molgenis.core.ui.MolgenisWebAppConfig