@PermitAll public class LocalizationServiceBean extends com.whitestein.lsps.common.SecureAndLoggingService implements LocalizationServiceLocal, LocalizationServiceRemote
Constructor and Description |
---|
LocalizationServiceBean()
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
protected LocalizationResourceBundle.Bundle |
getBundle(java.lang.String moduleHash,
LocaleValue locale) |
ModuleResourceBundle |
getResourceBundle(java.lang.String moduleHash,
LocaleValue locale)
Returns a message bundle for the given module and locale.
|
java.lang.String |
getResourceString(java.lang.String moduleHash,
LocaleValue locale,
java.lang.String identifier)
Returns a message object for the given module and locale and identifier.
|
public ModuleResourceBundle getResourceBundle(java.lang.String moduleHash, LocaleValue locale)
LocalizationService
getResourceBundle
in interface LocalizationService
moduleHash
- module hashlocale
- localepublic java.lang.String getResourceString(java.lang.String moduleHash, LocaleValue locale, java.lang.String identifier)
LocalizationService
getResourceString
in interface LocalizationService
moduleHash
- module hashlocale
- localeprotected LocalizationResourceBundle.Bundle getBundle(java.lang.String moduleHash, LocaleValue locale)
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.