@Configuration public class I18NConfiguration extends Object implements BaseConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
I18NConfiguration.OneMessageSourceConfiguration |
BaseConfiguration.ClusterDisabledCondition, BaseConfiguration.ClusterEnabledCondition, BaseConfiguration.PROPERTY_SOURCE_LOCATIONS
ADDONS_CONFIGURATION_COMPONENT_SCAN_PACKAGE, CLUSTER_ENABLE_PROPERTY_NAME, CONFIGURATION_ORDER_DELTA, CUSTOM_CONFIGURATION_COMPONENT_SCAN_PACKAGE, DEFAULT_WEB_APPLICATION_INITIALIZER_ORDER, ONE_CONFIGURATION_ORDER, PROPERTY_SOURCES_CUSTOM_APPLICATION_CONTEXT_INITIALIZER_ORDER, SECURITY_CONFIGURATION_ORDER, SECURITY_WEB_APPLICATION_INITIALIZER_ORDER, SESSION_WEB_APPLICATION_INITIALIZER_ORDER, VIS_CONFIGURATION_ORDER
Constructor and Description |
---|
I18NConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.context.MessageSource |
messageSource(String[] customMessageSourceBaseNames) |
void |
postConstruct() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyConfigurationCustomisations, getObjectOrDefault
@PostConstruct public void postConstruct() throws Exception
Exception
@Bean public org.springframework.context.MessageSource messageSource(@Value(value="${i18n.custom-message-source-location:classpath:com/edorasware/config/custom/i18n/messages}") String[] customMessageSourceBaseNames)
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.