@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(String moduleHash,
LocaleValue locale) |
ModuleResourceBundle |
getResourceBundle(String moduleHash,
LocaleValue locale)
Returns a message bundle for the given module and locale.
|
String |
getResourceString(String moduleHash,
LocaleValue locale,
String identifier)
Returns a message object for the given module and locale and identifier.
|
public ModuleResourceBundle getResourceBundle(String moduleHash, LocaleValue locale)
LocalizationService
getResourceBundle
in interface LocalizationService
moduleHash
- module hashlocale
- localepublic String getResourceString(String moduleHash, LocaleValue locale, String identifier)
LocalizationService
getResourceString
in interface LocalizationService
moduleHash
- module hashlocale
- localeprotected LocalizationResourceBundle.Bundle getBundle(String moduleHash, LocaleValue locale)
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.