站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

HierarchicalMessageSource (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

org.springframework.context
Interface HierarchicalMessageSource

All Superinterfaces:
MessageSource
All Known Implementing Classes:
AbstractMessageSource, DelegatingMessageSource, ReloadableResourceBundleMessageSource, ResourceBundleMessageSource, StaticMessageSource

public interface HierarchicalMessageSource
extends MessageSource

Sub-interface of MessageSource to be implemented by objects that can resolve messages hierarchically.

Author:
Rod Johnson, Juergen Hoeller

Method Summary
 MessageSource getParentMessageSource()
          Return the parent of this MessageSource, or null if none.
 void setParentMessageSource(MessageSource parent)
          Set the parent that will be used to try to resolve messages that this object can't resolve.
 
Methods inherited from interface org.springframework.context.MessageSource
getMessage, getMessage, getMessage
 

Method Detail

setParentMessageSource

void setParentMessageSource(MessageSource parent)
Set the parent that will be used to try to resolve messages that this object can't resolve.

Parameters:
parent - the parent MessageSource that will be used to resolve messages that this object can't resolve. May be null, in which case no further resolution is possible.

getParentMessageSource

MessageSource getParentMessageSource()
Return the parent of this MessageSource, or null if none.


The Spring Framework

Copyright © 2002-2007 The Spring Framework.