Interface MessageService
- All Known Implementing Classes:
MessageServiceImpl
public interface MessageService
-
Method Summary
Modifier and TypeMethodDescriptiongetMessage(String code) Returns the message requested by the code with no arguments and the currently set Java Locale on theBroadleafRequestContextas returned byBroadleafRequestContext.getJavaLocale()getMessage(String code, Object... args) Returns the message requested by the code with the specified arguments and the currently set Java Locale on theBroadleafRequestContextas returned byBroadleafRequestContext.getJavaLocale()
-
Method Details
-
getMessage
Returns the message requested by the code with no arguments and the currently set Java Locale on theBroadleafRequestContextas returned byBroadleafRequestContext.getJavaLocale()- Parameters:
code-- Returns:
- the message
-
getMessage
Returns the message requested by the code with the specified arguments and the currently set Java Locale on theBroadleafRequestContextas returned byBroadleafRequestContext.getJavaLocale()- Parameters:
code-- Returns:
- the message
-