类 MenuMessageComponent
java.lang.Object
org.springframework.context.support.MessageSourceSupport
org.springframework.context.support.AbstractMessageSource
com.publiccms.logic.component.site.MenuMessageComponent
- 所有已实现的接口:
Cache
,org.springframework.context.HierarchicalMessageSource
,org.springframework.context.MessageSource
@Component
public class MenuMessageComponent
extends org.springframework.context.support.AbstractMessageSource
implements Cache
MenuMessageComponent 菜单国际化组件
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明static final String
private CacheEntity<String,
Map<String, String>> private Map<String,
Map<Locale, MessageFormat>> static final String
private SysModuleLangService
从类继承的字段 org.springframework.context.support.MessageSourceSupport
logger
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
clear()
getMessageMap
(Locale locale) void
initCache
(CacheEntityFactory cacheEntityFactory) protected MessageFormat
resolveCode
(String code, Locale locale) protected String
resolveCodeWithoutArguments
(String code, Locale locale) 从类继承的方法 org.springframework.context.support.AbstractMessageSource
getCommonMessages, getDefaultMessage, getDefaultMessage, getMessage, getMessage, getMessage, getMessageFromParent, getMessageInternal, getParentMessageSource, isUseCodeAsDefaultMessage, resolveArguments, setCommonMessages, setParentMessageSource, setUseCodeAsDefaultMessage
从类继承的方法 org.springframework.context.support.MessageSourceSupport
createMessageFormat, formatMessage, isAlwaysUseMessageFormat, renderDefaultMessage, setAlwaysUseMessageFormat
-
字段详细资料
-
CODE
- 另请参阅:
-
PREFIX
-
messageSourceControl
-
messageCache
-
messageFormatCaches
-
sysModuleLangService
-
-
构造器详细资料
-
MenuMessageComponent
public MenuMessageComponent()
-
-
方法详细资料
-
resolveCode
- 指定者:
resolveCode
在类中org.springframework.context.support.AbstractMessageSource
-
resolveCodeWithoutArguments
- 覆盖:
resolveCodeWithoutArguments
在类中org.springframework.context.support.AbstractMessageSource
-
getMessageMap
-
initCache
public void initCache(CacheEntityFactory cacheEntityFactory) throws ClassNotFoundException, InstantiationException, IllegalAccessException - 参数:
cacheEntityFactory
-- 抛出:
IllegalAccessException
InstantiationException
ClassNotFoundException
-
clear
public void clear()
-