org.apache.myfaces.extensions.cdi.message.api
Interface MessageResolver
- All Superinterfaces:
- Serializable
public interface MessageResolver
- extends Serializable
- Author:
- Gerhard Petracek
MISSING_RESOURCE_MARKER
static final String MISSING_RESOURCE_MARKER
- See Also:
- Constant Field Values
getMessage
String getMessage(MessageContext messageContext,
String messageDescriptor,
Map<Class,MessagePayload> payload)
- Parameters:
messageContext
- the current MessageContext
messageDescriptor
- the message key (or in-lined text) of the current messagepayload
- the payload of the message e.g. to use different message sources
- Returns:
- the final but not interpolated message text
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.