Package org.openwms.wms.app
Class InventoryModuleConfiguration
java.lang.Object
org.openwms.wms.app.InventoryModuleConfiguration
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration
@EnableAsync
@EnableRetry
@EnableScheduling
@EnableConfigurationProperties
@EnableCaching
@EnableIdentityAwareness
@EnableSpringConfigured
@EnableAspectJAutoProxy(proxyTargetClass=true)
@EnableJpaAuditing
@EnableAspects(propagateRootCause=true)
@Import(org.openwms.core.app.JSONConfiguration.class)
public class InventoryModuleConfiguration
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
A InventoryModuleConfiguration.
- Author:
- Heiko Scherrer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addInterceptors
(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) (package private) org.ameba.mapping.BeanMapper
(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) org.springframework.web.client.RestTemplate
restTemplate
(org.springframework.boot.web.client.RestTemplateBuilder builder) org.ameba.i18n.Translator
translator
(org.springframework.context.MessageSource messageSource) 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
-
Constructor Details
-
Method Details
-
onContextStarted
@EventListener public void onContextStarted(org.springframework.context.event.ContextStartedEvent cse) -
restTemplate
@Bean public org.springframework.web.client.RestTemplate restTemplate(org.springframework.boot.web.client.RestTemplateBuilder builder) -
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() -
messageSource
@Bean org.springframework.context.MessageSource messageSource() -
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(org.springframework.context.MessageSource messageSource) -
beanMapper
@Bean org.ameba.mapping.BeanMapper beanMapper()
-