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 Details

    • LocalizationMessageSource

      public LocalizationMessageSource(LocalizationService localizationService)
  • Method Details

    • getMessage

      public String getMessage(String code, Object[] args, String defaultMessage, Locale locale)
      Specified by:
      getMessage in interface org.springframework.context.MessageSource
    • getMessage

      public String getMessage(String code, Object[] args, Locale locale) throws org.springframework.context.NoSuchMessageException
      Specified by:
      getMessage in interface org.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 interface org.springframework.context.MessageSource
      Throws:
      org.springframework.context.NoSuchMessageException