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 inline text) of the current messagecategory
- the category of the message, e.g. 'longText'. Can be null
null
if an error happened or the resource
could not be resolved.Copyright © 2020 The Apache Software Foundation. All rights reserved.