Package org.openwms.core.preferences.app
Class PreferencesModuleConfiguration
java.lang.Object
org.openwms.core.preferences.app.PreferencesModuleConfiguration
@Configuration
@EnableAspects(propagateRootCause=true)
@EnableConfigurationProperties(ModuleProperties.class)
public class PreferencesModuleConfiguration
extends Object
A PreferencesModuleConfiguration is the microservice default Spring configuration, active by default.
It enables:
- OpenWMS Aspects
- Author:
- Heiko Scherrer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.ameba.mapping.BeanMapper
(package private) org.openwms.core.startup.LocalServiceInitializer
localServiceInitializer
(org.springframework.context.ApplicationContext ctx) org.springframework.context.MessageSource
(package private) org.springframework.validation.beanvalidation.MethodValidationPostProcessor
methodValidationPostProcessor
(jakarta.validation.Validator validatorFactoryBean) (package private) org.springframework.boot.actuate.autoconfigure.metrics.MeterRegistryCustomizer
<io.micrometer.core.instrument.MeterRegistry> metricsCommonTags
(String applicationName) org.ameba.i18n.Translator
(package private) org.springframework.oxm.Unmarshaller
-
Constructor Details
-
PreferencesModuleConfiguration
public PreferencesModuleConfiguration()
-
-
Method Details
-
localServiceInitializer
@Bean org.openwms.core.startup.LocalServiceInitializer localServiceInitializer(org.springframework.context.ApplicationContext ctx) -
metricsCommonTags
@Bean org.springframework.boot.actuate.autoconfigure.metrics.MeterRegistryCustomizer<io.micrometer.core.instrument.MeterRegistry> metricsCommonTags(@Value("${spring.application.name}") String applicationName) -
translator
@Bean public org.ameba.i18n.Translator translator() -
messageSource
@Bean public org.springframework.context.MessageSource messageSource() -
methodValidationPostProcessor
@Bean org.springframework.validation.beanvalidation.MethodValidationPostProcessor methodValidationPostProcessor(jakarta.validation.Validator validatorFactoryBean) -
beanMapper
@Bean public org.ameba.mapping.BeanMapper beanMapper() -
unmarshaller
@Bean org.springframework.oxm.Unmarshaller unmarshaller()
-