Package org.cxbox.core.config
Class LocalizationConfig
java.lang.Object
org.cxbox.core.config.LocalizationConfig
@EnableConfigurationProperties(org.cxbox.api.config.CxboxLocalizationProperties.class)
public class LocalizationConfig
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.LocaleResolverlocaleResolver(org.cxbox.api.service.session.CoreSessionService coreSessionService, org.cxbox.api.service.LocaleService localeService) org.cxbox.api.service.LocaleServicelocaleService(org.cxbox.api.config.CxboxLocalizationProperties cxboxLocalizationProperties) translationService(org.cxbox.api.service.LocaleService localeService)
-
Constructor Details
-
LocalizationConfig
public LocalizationConfig()
-
-
Method Details
-
localeResolver
@Bean(name="localeResolver") public org.springframework.web.servlet.LocaleResolver localeResolver(org.cxbox.api.service.session.CoreSessionService coreSessionService, org.cxbox.api.service.LocaleService localeService) -
localeService
@Bean(name="localeService") public org.cxbox.api.service.LocaleService localeService(org.cxbox.api.config.CxboxLocalizationProperties cxboxLocalizationProperties) -
translationService
@Bean public TranslationService translationService(org.cxbox.api.service.LocaleService localeService)
-