Package org.gluu.oxauth.i18n
Class LanguageBean
- java.lang.Object
- 
- org.gluu.oxauth.i18n.LanguageBean
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 @Named("language") @ApplicationScoped public class LanguageBean extends java.lang.Object implements java.io.Serializable- Version:
- August 9, 2017
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description LanguageBean()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.LocalegetLocale()java.lang.StringgetLocaleCode()Deprecated.java.lang.StringgetMessage(java.lang.String key)java.util.List<java.util.Locale>getSupportedLocales()voidinitSupportedLocales(AppConfiguration appConfiguration)voidsetLocale(java.util.Locale requestedLocale)voidsetLocaleCode(java.lang.String requestedLocaleCode)
 
- 
- 
- 
Method Detail- 
initSupportedLocalespublic void initSupportedLocales(@Observes @ConfigurationUpdate AppConfiguration appConfiguration)
 - 
getLocaleCode@Deprecated public java.lang.String getLocaleCode() Deprecated.
 - 
getLocalepublic java.util.Locale getLocale() 
 - 
setLocaleCodepublic void setLocaleCode(java.lang.String requestedLocaleCode) 
 - 
setLocalepublic void setLocale(java.util.Locale requestedLocale) 
 - 
getSupportedLocalespublic java.util.List<java.util.Locale> getSupportedLocales() 
 - 
getMessagepublic java.lang.String getMessage(java.lang.String key) 
 
- 
 
-