org.springframework.binding.message
Interface MessageResolver

All Known Implementing Classes:
DefaultMessageResolver

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
 Message resolveMessage(org.springframework.context.MessageSource messageSource, Locale locale)
          Resolve the message from the message source using the current locale.
 

Method Detail

resolveMessage

Message resolveMessage(org.springframework.context.MessageSource messageSource,
                       Locale locale)
Resolve the message from the message source using the current locale.

Parameters:
messageSource - the message source, an abstraction for a resource bundle
locale - the current locale of this request
Returns:
the resolved message