限定符和类型 | 类和说明 |
---|---|
private class |
MenuMessageComponent.MessageSourceControl |
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
CODE |
private CacheEntity<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
messageCache |
private java.util.Map<java.lang.String,java.util.Map<java.util.Locale,java.text.MessageFormat>> |
messageFormatCaches |
private MenuMessageComponent.MessageSourceControl |
messageSourceControl |
static java.lang.String |
PREFIX |
private SysModuleLangService |
sysModuleLangService |
构造器和说明 |
---|
MenuMessageComponent() |
限定符和类型 | 方法和说明 |
---|---|
void |
clear() |
private java.util.Map<java.lang.String,java.lang.String> |
getMessageMap(java.util.Locale locale) |
void |
initCache(CacheEntityFactory cacheEntityFactory) |
protected java.text.MessageFormat |
resolveCode(java.lang.String code,
java.util.Locale locale) |
protected java.lang.String |
resolveCodeWithoutArguments(java.lang.String code,
java.util.Locale locale) |
getCommonMessages, getDefaultMessage, getDefaultMessage, getMessage, getMessage, getMessage, getMessageFromParent, getMessageInternal, getParentMessageSource, isUseCodeAsDefaultMessage, resolveArguments, setCommonMessages, setParentMessageSource, setUseCodeAsDefaultMessage
public static final java.lang.String CODE
public static final java.lang.String PREFIX
private MenuMessageComponent.MessageSourceControl messageSourceControl
private CacheEntity<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> messageCache
private java.util.Map<java.lang.String,java.util.Map<java.util.Locale,java.text.MessageFormat>> messageFormatCaches
private SysModuleLangService sysModuleLangService
protected java.text.MessageFormat resolveCode(java.lang.String code, java.util.Locale locale)
resolveCode
在类中 org.springframework.context.support.AbstractMessageSource
protected java.lang.String resolveCodeWithoutArguments(java.lang.String code, java.util.Locale locale)
resolveCodeWithoutArguments
在类中 org.springframework.context.support.AbstractMessageSource
private java.util.Map<java.lang.String,java.lang.String> getMessageMap(java.util.Locale locale)
public void initCache(CacheEntityFactory cacheEntityFactory) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
cacheEntityFactory
- java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.ClassNotFoundException