Interface MessageResolver
- All Known Implementing Classes:
DefaultMessageResolver
,FlowFacesContext.FlowFacesMessage
public interface MessageResolver
A factory for a Message. Allows a Message to be internationalized and to be resolved from a
message resource bundle
.- Author:
- Keith Donald
- See Also:
-
Message
MessageSource
-
Method Summary
Modifier and TypeMethodDescriptionresolveMessage
(org.springframework.context.MessageSource messageSource, Locale locale) Resolve the message from the message source using the current locale.
-
Method Details
-
resolveMessage
Resolve the message from the message source using the current locale.- Parameters:
messageSource
- the message source, an abstraction for a resource bundlelocale
- the current locale of this request- Returns:
- the resolved message
-