Package org.openwms.wms.movements.app
Class MovementModuleConfiguration
java.lang.Object
org.openwms.wms.movements.app.MovementModuleConfiguration
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration
@EnableTransactionManagement
@EnableIdentityAwareness
@EnablePluginRegistries(MovementHandler.class)
@EnableJpaRepositories("org.openwms.wms.movements")
@EntityScan("org.openwms.wms.movements")
@EnableJpaAuditing
@EnableAspects(propagateRootCause=true)
@EnableScheduling
@RefreshScope
@Import(org.openwms.core.app.JSONConfiguration.class)
public class MovementModuleConfiguration
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
A MovementModuleConfiguration.
- Author:
- Heiko Scherrer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInterceptors
(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) (package private) org.ameba.mapping.BeanMapper
(package private) javax.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) (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
-
Constructor Details
-
MovementModuleConfiguration
public MovementModuleConfiguration()
-
-
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 javax.servlet.Filter corsFiler() -
beanMapper
@Bean org.ameba.mapping.BeanMapper beanMapper() -
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()
-