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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) (package private) jakarta.servlet.Filterorg.springframework.web.servlet.i18n.LocaleChangeInterceptororg.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) voidonContextStarted(org.springframework.context.event.ContextStartedEvent cse) org.springframework.web.client.RestTemplaterestTemplate(org.springframework.boot.web.client.RestTemplateBuilder builder) org.ameba.i18n.Translatortranslator(org.springframework.context.MessageSource messageSource) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddArgumentResolvers, addCorsMappings, addErrorResponseInterceptors, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
- 
Field Details- 
BOOT_LOGGERprivate static final org.slf4j.Logger BOOT_LOGGER
 
- 
- 
Constructor Details- 
InventoryModuleConfigurationpublic InventoryModuleConfiguration()
 
- 
- 
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) 
- 
addInterceptorspublic void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) - Specified by:
- addInterceptorsin interface- org.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) 
 
-