Class TaskModuleConfiguration

java.lang.Object
org.openwms.common.tasks.app.TaskModuleConfiguration
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration @RefreshScope @EnableConfigurationProperties @EnableIdentityAwareness @EnableJpaAuditing @EnableMultiTenancy(enabled=false) public class TaskModuleConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
A TaskModuleConfiguration.
Author:
Heiko Scherrer
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
     
    javax.servlet.Filter
     
    org.springframework.web.servlet.i18n.LocaleChangeInterceptor
     
    org.springframework.web.servlet.LocaleResolver
     
    org.springframework.context.MessageSource
     
    (package private) org.springframework.boot.actuate.autoconfigure.metrics.MeterRegistryCustomizer<io.micrometer.core.instrument.MeterRegistry>
    metricsCommonTags(String applicationName)
     
    org.ameba.i18n.Translator
     

    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

    addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • Constructor Details

    • TaskModuleConfiguration

      public TaskModuleConfiguration()
  • Method Details

    • addInterceptors

      public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
      Specified by:
      addInterceptors in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • metricsCommonTags

      @RefreshScope @Bean org.springframework.boot.actuate.autoconfigure.metrics.MeterRegistryCustomizer<io.micrometer.core.instrument.MeterRegistry> metricsCommonTags(@Value("${spring.application.name}") String applicationName)
    • localeResolver

      @Bean public org.springframework.web.servlet.LocaleResolver localeResolver()
    • localeChangeInterceptor

      @Bean public org.springframework.web.servlet.i18n.LocaleChangeInterceptor localeChangeInterceptor()
    • translator

      @Bean public org.ameba.i18n.Translator translator()
    • messageSource

      @Bean public org.springframework.context.MessageSource messageSource()
    • corsFiler

      @Profile("DEV") @Bean public javax.servlet.Filter corsFiler()