Package org.openwms.wms.receiving.app
Class ReceivingModuleConfiguration
java.lang.Object
org.openwms.wms.receiving.app.ReceivingModuleConfiguration
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration
@EnableIdentityAwareness
@EnableTransactionManagement(proxyTargetClass=true)
@EnableJpaAuditing
@EnableAspects(propagateRootCause=true)
@EnableScheduling
@ImportResource("classpath:META-INF/spring/plugins-ctx.xml")
public class ReceivingModuleConfiguration
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
A ReceivingModuleConfiguration.
- Author:
- Heiko Scherrer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInterceptors
(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) (package private) jakarta.servlet.Filter
org.springframework.web.servlet.i18n.LocaleChangeInterceptor
org.springframework.web.servlet.LocaleResolver
(package private) org.springframework.context.MessageSource
(package private) org.springframework.boot.actuate.autoconfigure.metrics.MeterRegistryCustomizer
<io.micrometer.core.instrument.MeterRegistry> metricsCommonTags
(String applicationName) void
onContextStarted
(org.springframework.context.event.ContextStartedEvent cse) (package private) 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
-
Field Details
-
BOOT_LOGGER
private static final org.slf4j.Logger BOOT_LOGGER
-
-
Constructor Details
-
ReceivingModuleConfiguration
public ReceivingModuleConfiguration()
-
-
Method Details
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) - Specified by:
addInterceptors
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
metricsCommonTags
@Bean org.springframework.boot.actuate.autoconfigure.metrics.MeterRegistryCustomizer<io.micrometer.core.instrument.MeterRegistry> metricsCommonTags(@Value("${spring.application.name}") String applicationName) -
corsFiler
@Profile("DEV") @Bean jakarta.servlet.Filter corsFiler() -
onContextStarted
@EventListener public void onContextStarted(org.springframework.context.event.ContextStartedEvent cse) -
localeResolver
@Bean public org.springframework.web.servlet.LocaleResolver localeResolver() -
localeChangeInterceptor
@Bean public org.springframework.web.servlet.i18n.LocaleChangeInterceptor localeChangeInterceptor() -
translator
@Bean org.ameba.i18n.Translator translator() -
messageSource
@Bean org.springframework.context.MessageSource messageSource()
-