@Specializes public class SessionAwareLocaleManager extends LocaleManager
| Modifier and Type | Field and Description |
|---|---|
protected javax.enterprise.event.Event<LocaleChangedEvent> |
localeChangedEvent |
defaultLocaleId, installedLocaleIds, log| Constructor and Description |
|---|
SessionAwareLocaleManager() |
| Modifier and Type | Method and Description |
|---|---|
Locale |
getCurrentLocale() |
protected SessionContext |
getSessionContext() |
void |
setCurrentLocale(Locale currentLocale) |
currentLang, currentLocale, geLocales, getAllLanguages, getAllLocales, getCurrentLang, getDefaultLang, getDefaultLocale, getDefaultLocaleId, getInstalledLocaleIds, getLangs, getLocaleById, getPlatformAvailableLangs, getPlatformAvailableLocales, init, localeToString, localize, lookup, setCurrentLang, setDefaultLocaleId, setInstalledLocaleIds@Inject protected javax.enterprise.event.Event<LocaleChangedEvent> localeChangedEvent
protected SessionContext getSessionContext()
public Locale getCurrentLocale()
getCurrentLocale in class LocaleManagerpublic void setCurrentLocale(Locale currentLocale)
setCurrentLocale in class LocaleManagerCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.