Top Description Methods
org.springframework.context

public Interface HierarchicalMessageSource

extends MessageSource
Known Direct Implementers
org.springframework.context.support.AbstractMessageSource, org.springframework.context.support.DelegatingMessageSource
Imports
org.springframework.lang.Nullable

Sub-interface of MessageSource to be implemented by objects that can resolve messages hierarchically.
Authors
Rod Johnson, Juergen Hoeller

Method Summary

Modifier and TypeMethod and Description
public MessageSource
getParentMessageSource()

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

public void
setParentMessageSource(MessageSource
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.
parent
)

Set the parent that will be used to try to resolve messages that this object can't resolve.

Inherited from org.springframework.context.MessageSource:
getMessagegetMessagegetMessage

Method Detail

getParentMessageSourceback to summary
public MessageSource getParentMessageSource()

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

Annotations
@Nullable
setParentMessageSourceback to summary
public void setParentMessageSource(MessageSource parent)

Set the parent that will be used to try to resolve messages that this object can't resolve.

Parameters
parent:MessageSource

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.