Class EntityViewMessageSource

java.lang.Object
com.foreach.across.modules.entity.support.EntityViewMessageSource
All Implemented Interfaces:
org.springframework.context.MessageSource

public class EntityViewMessageSource extends Object implements org.springframework.context.MessageSource
MessageSource implementation using a EntityMessageCodeResolver with fallback message lookups for every message. Used by the DefaultEntityViewFactory on the ViewElementBuilderContext.
Since:
2.1.0
Author:
Arne Vandamme
  • Constructor Details

  • 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