public interface MessagesSource extends InvalidationEventHub, UpdateListener
| Modifier and Type | Method and Description |
|---|---|
Messages |
getMessages(MessagesBundle bundle,
ComponentResourceSelector selector)
Used to obtain a
Messages instance for a particular component, within a particular locale. |
addInvalidationCallback, addInvalidationListener, clearOnInvalidationcheckForUpdatesMessages getMessages(MessagesBundle bundle, ComponentResourceSelector selector)
Messages instance for a particular component, within a particular locale. If the
component extends from another component, then its localized properties will merge with its parent's properties
(with the subclass overriding the super class on any conflicts).bundle - defines the set of properties files to read, as well as a series of parent bundles to extend and
overrideselector - defines the locale and other axes used to locate the necessary resources5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.