public interface MessageProvider
A message provider fronts an external repository and provides messages from that repository
to the application. The provider must support the following message retrieval methods and be registered
with the MessageService
implementation
Modifier and Type | Method and Description |
---|---|
Collection<Message> |
getAllMessagesForComponent(String namespace,
String component,
String locale)
Gets all message objects for the given namespace, component, and locale
|
Message |
getMessage(String namespace,
String component,
String key,
String locale)
Gets the
Message object that has the given namespace, component, key, and locale |
Message getMessage(String namespace, String component, String key, String locale)
Message
object that has the given namespace, component, key, and localenamespace
- namespace code the message belongs tocomponent
- component code the namespace is associated withkey
- key that identifies the message within the namespace and componentlocale
- locale code for the message to returnCollection<Message> getAllMessagesForComponent(String namespace, String component, String locale)
namespace
- namespace code the message belongs tocomponent
- component code the namespace is associated withlocale
- locale code for the message to returnCopyright © 2005–2016 The Kuali Foundation. All rights reserved.