Class BroadleafThymeleaf3TemplateEngine

java.lang.Object
org.thymeleaf.TemplateEngine
org.thymeleaf.spring6.SpringTemplateEngine
org.broadleafcommerce.presentation.thymeleaf3.BroadleafThymeleaf3TemplateEngine
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.MessageSourceAware, org.thymeleaf.ITemplateEngine, org.thymeleaf.spring6.ISpringTemplateEngine

public class BroadleafThymeleaf3TemplateEngine extends org.thymeleaf.spring6.SpringTemplateEngine
Overrides the standard SpringTemplateEngine to allow for custom MessageResolvers to be added with order values Created on 1/13/17.
Author:
Chris Nail (ChrisNail)
  • Field Summary

    Fields inherited from class org.thymeleaf.TemplateEngine

    TIMER_LOGGER_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Overrides the SpringTemplateEngine#afterPropertiesSet() so that the MessageResolvers set is not cleared during setup

    Methods inherited from class org.thymeleaf.spring6.SpringTemplateEngine

    addMessageResolver, getAllowedClassOverridesForViews, getEnableSpringELCompiler, getRenderHiddenMarkersBeforeCheckboxes, initializeSpecific, initializeSpringSpecific, setAllowedClassOverridesForViews, setEnableSpringELCompiler, setMessageResolver, setMessageResolvers, setMessageSource, setRenderHiddenMarkersBeforeCheckboxes, setTemplateEngineMessageSource

    Methods inherited from class org.thymeleaf.TemplateEngine

    addDialect, addDialect, addLinkBuilder, addTemplateResolver, clearDialects, clearTemplateCache, clearTemplateCacheFor, getCacheManager, getConfiguration, getDecoupledTemplateLogicResolver, getDialects, getDialectsByPrefix, getEngineContextFactory, getLinkBuilders, getMessageResolvers, getTemplateResolvers, isInitialized, process, process, process, process, process, process, processThrottled, processThrottled, processThrottled, setAdditionalDialects, setCacheManager, setDecoupledTemplateLogicResolver, setDialect, setDialects, setDialectsByPrefix, setEngineContextFactory, setLinkBuilder, setLinkBuilders, setTemplateResolver, setTemplateResolvers, threadIndex

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.thymeleaf.ITemplateEngine

    getConfiguration, process, process, process, process, process, process, processThrottled, processThrottled, processThrottled
  • Constructor Details

    • BroadleafThymeleaf3TemplateEngine

      public BroadleafThymeleaf3TemplateEngine()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Overrides the SpringTemplateEngine#afterPropertiesSet() so that the MessageResolvers set is not cleared during setup
      Throws:
      Exception