Interface ICUMessageSource

  • All Superinterfaces:
    org.springframework.context.HierarchicalMessageSource, org.springframework.context.MessageSource, yakworks.message.spi.MsgService
    All Known Implementing Classes:
    DefaultICUMessageSource

    public interface ICUMessageSource
    extends org.springframework.context.HierarchicalMessageSource, yakworks.message.spi.MsgService
    Extends the MessageSource interface in that adds util for passing arguments as Map. We also add lists and some of similiar shorter helper methods to MessageSourceAccessor
    Since:
    0.3.0
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Locale getHolderLocale()
      Get the locale from the LocaleContextHolder
      default java.lang.String getMessage​(org.springframework.context.MessageSourceResolvable resolvable)
      Get using the Locale in the HolderLocale
      • Methods inherited from interface org.springframework.context.HierarchicalMessageSource

        getParentMessageSource, setParentMessageSource
      • Methods inherited from interface org.springframework.context.MessageSource

        getMessage, getMessage, getMessage
      • Methods inherited from interface yakworks.message.spi.MsgService

        get, get, get, get, get, get, get, getMessage, interpolate
    • Method Detail

      • getHolderLocale

        default java.util.Locale getHolderLocale()
        Get the locale from the LocaleContextHolder
      • getMessage

        default java.lang.String getMessage​(org.springframework.context.MessageSourceResolvable resolvable)
        Get using the Locale in the HolderLocale