Package org.springframework.context
Interface HierarchicalMessageSource
- All Superinterfaces:
- MessageSource
- All Known Implementing Classes:
- AbstractMessageSource,- AbstractResourceBasedMessageSource,- DelegatingMessageSource,- ReloadableResourceBundleMessageSource,- ResourceBundleMessageSource,- StaticMessageSource
Sub-interface of MessageSource to be implemented by objects that
 can resolve messages hierarchically.
- Author:
- Rod Johnson, Juergen Hoeller
- 
Method SummaryModifier and TypeMethodDescriptionReturn 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.Methods inherited from interface org.springframework.context.MessageSourcegetMessage, getMessage, getMessage
- 
Method Details- 
setParentMessageSourceSet 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.
 
- 
getParentMessageSourceReturn the parent of this MessageSource, ornullif none.
 
-