Class EntityMessageCodeProperties

java.lang.Object
com.foreach.across.modules.entity.config.EntityMessageCodeProperties

@Component @ConfigurationProperties("entity-module") public class EntityMessageCodeProperties extends Object
  • Constructor Details

    • EntityMessageCodeProperties

      public EntityMessageCodeProperties()
  • Method Details

    • getEntityMessageCodePrefixes

      public String[] getEntityMessageCodePrefixes(com.foreach.across.core.context.info.AcrossModuleInfo moduleInfo)
      Get all the message code prefixes that should be attached to the EntityMessageCodeResolver.
    • getMessageCodes

      public Map<String,String[]> getMessageCodes()
      Map of module name and list of message code prefixes.