|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageProvider
API for message providers
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
Method Summary | |
---|---|
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 |
Method Detail |
---|
Message getMessage(String namespace, String component, String key, String locale)
Message
object that has the given namespace, component, key, and locale
namespace
- 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 return
Collection<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 return
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |