Package org.cxbox.model.core.service
Class LocaleServiceImpl
java.lang.Object
org.cxbox.model.core.service.LocaleServiceImpl
- All Implemented Interfaces:
EventListener,LocaleService,ISystemSettingChangeEventListener,org.springframework.context.ApplicationListener<SystemSettingChangedEvent>
@Service("localeService")
public class LocaleServiceImpl
extends Object
implements LocaleService, ISystemSettingChangeEventListener
-
Field Summary
Fields inherited from interface org.cxbox.api.service.LocaleService
defaultLocale, SERVICE_NAME -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cxbox.api.service.LocaleService
getSupportedLanguages
-
Constructor Details
-
LocaleServiceImpl
-
-
Method Details
-
onApplicationEvent
- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<SystemSettingChangedEvent>- Specified by:
onApplicationEventin interfaceISystemSettingChangeEventListener
-
isLanguageSupported
- Specified by:
isLanguageSupportedin interfaceLocaleService
-
getDefaultLocale
- Specified by:
getDefaultLocalein interfaceLocaleService
-