@Component(value="cuba_Messages") public class MessagesClientImpl extends AbstractMessages
| Modifier and Type | Field and Description |
|---|---|
protected ClientConfig |
clientConfig |
protected LocalizedMessageService |
localizedMessageService |
protected boolean |
remoteSearch |
protected UserSessionSource |
userSessionSource |
BUNDLE_NAME, confDir, enumSubclassPattern, EXT, filePropertiesCache, formatStringsRegistry, globalConfig, mainMessagePack, messageTools, notFoundCache, PROPERTIES_NOT_FOUND, resourcePropertiesCache, strCache| Constructor and Description |
|---|
MessagesClientImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Locale |
getUserLocale() |
boolean |
isRemoteSearch() |
protected java.lang.String |
searchRemotely(java.lang.String pack,
java.lang.String key,
java.util.Locale locale) |
void |
setConfiguration(Configuration configuration) |
void |
setRemoteSearch(boolean remoteSearch) |
cache, clearCache, enterPack, findMessage, formatMainMessage, formatMessage, formatMessage, formatMessage, formatMessage, getCacheSize, getLocaleSuffix, getMainMessage, getMainMessage, getMainMessagePack, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessageFromProperties, getPackName, getTools, init, internalGetMessage, loadPropertiesFromFile, loadPropertiesFromResource, makeCacheKey, searchClasspath, searchFiles, searchIncludes, searchMessage, searchOnePack@Inject protected LocalizedMessageService localizedMessageService
@Inject protected UserSessionSource userSessionSource
protected volatile boolean remoteSearch
protected ClientConfig clientConfig
@Inject public void setConfiguration(Configuration configuration)
setConfiguration in class AbstractMessagesprotected java.util.Locale getUserLocale()
getUserLocale in class AbstractMessagesprotected java.lang.String searchRemotely(java.lang.String pack,
java.lang.String key,
java.util.Locale locale)
searchRemotely in class AbstractMessagespublic boolean isRemoteSearch()
public void setRemoteSearch(boolean remoteSearch)