org.springframework.context

Interface HierarchicalMessageSource

    • Method Detail

      • setParentMessageSource

        void setParentMessageSource(@Nullable
                                    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

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