public interface MessageResolver extends Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
MISSING_RESOURCE_MARKER |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage(MessageContext messageContext,
String messageTemplate,
String category) |
static final String MISSING_RESOURCE_MARKER
String getMessage(MessageContext messageContext, String messageTemplate, String category)
messageContext - messageContext which should be usedmessageTemplate - the message key (or in-lined text) of the current messagecategory - the sub-category of the message, e.g. 'longText'. Can be nullnull if an error happened or the resource could not be resolved.Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.