Package com.evolveum.midpoint.common
Class LocalizationMessageSource
java.lang.Object
com.evolveum.midpoint.common.LocalizationMessageSource
- All Implemented Interfaces:
org.springframework.context.MessageSource
public class LocalizationMessageSource
extends Object
implements org.springframework.context.MessageSource
Created by Viliam Repan (lazyman).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetMessage
(String code, Object[] args, String defaultMessage, Locale locale) getMessage
(String code, Object[] args, Locale locale) getMessage
(org.springframework.context.MessageSourceResolvable resolvable, Locale locale)
-
Constructor Details
-
LocalizationMessageSource
-
-
Method Details
-
getMessage
- Specified by:
getMessage
in interfaceorg.springframework.context.MessageSource
-
getMessage
public String getMessage(String code, Object[] args, Locale locale) throws org.springframework.context.NoSuchMessageException - Specified by:
getMessage
in interfaceorg.springframework.context.MessageSource
- Throws:
org.springframework.context.NoSuchMessageException
-
getMessage
public String getMessage(org.springframework.context.MessageSourceResolvable resolvable, Locale locale) throws org.springframework.context.NoSuchMessageException - Specified by:
getMessage
in interfaceorg.springframework.context.MessageSource
- Throws:
org.springframework.context.NoSuchMessageException
-