接口 HierarchicalMessageSource
- 所有超级接口:
MessageSource
- 所有已知实现类:
AbstractMessageSource,AbstractResourceBasedMessageSource,DelegatingMessageSource,ReloadableResourceBundleMessageSource,ResourceBundleMessageSource,StaticMessageSource
Sub-interface of MessageSource to be implemented by objects that
can resolve messages hierarchically.
- 作者:
- Rod Johnson, Juergen Hoeller
-
方法概要
修饰符和类型方法说明Return the parent of this MessageSource, ornullif none.voidsetParentMessageSource(MessageSource parent) Set the parent that will be used to try to resolve messages that this object can't resolve.从接口继承的方法 cn.taketoday.context.MessageSource
getMessage, getMessage, getMessage
-
方法详细资料
-
setParentMessageSource
Set the parent that will be used to try to resolve messages that this object can't resolve.- 参数:
parent- the parent MessageSource that will be used to resolve messages that this object can't resolve. May benull, in which case no further resolution is possible.
-
getParentMessageSource
Return the parent of this MessageSource, ornullif none.
-