Class DevTemplateService

java.lang.Object
org.webpieces.templating.impl.AbstractTemplateService
org.webpieces.templating.impl.ProdTemplateService
org.webpieces.templatingdev.impl.DevTemplateService
All Implemented Interfaces:
org.webpieces.templating.api.TemplateService

@Singleton public class DevTemplateService extends org.webpieces.templating.impl.ProdTemplateService
  • Field Summary

    Fields inherited from class org.webpieces.templating.impl.ProdTemplateService

    lookup, urlLookup
  • Constructor Summary

    Constructors
    Constructor
    Description
    DevTemplateService(org.webpieces.templating.api.RouterLookup urlLookup, org.webpieces.templating.api.HtmlTagLookup htmlTagLookup, HtmlToJavaClassCompiler compiler, TemplateCompileConfig config)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    loadAndRunTemplateImpl(String templatePath, StringWriter out, Map<String,Object> pageArgs)
     
    protected org.webpieces.templating.api.Template
    loadTemplate(String fullTemplatePath, String fullClassName)
     

    Methods inherited from class org.webpieces.templating.impl.ProdTemplateService

    install, loadAndRunTemplate, loadTemplate, runTemplate, runTemplate

    Methods inherited from class org.webpieces.templating.impl.AbstractTemplateService

    loadAndRunTemplate

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.webpieces.templating.api.TemplateService

    loadAndRunTemplate
  • Constructor Details

    • DevTemplateService

      @Inject public DevTemplateService(org.webpieces.templating.api.RouterLookup urlLookup, org.webpieces.templating.api.HtmlTagLookup htmlTagLookup, HtmlToJavaClassCompiler compiler, TemplateCompileConfig config)
  • Method Details

    • initialize

      public void initialize()
      Overrides:
      initialize in class org.webpieces.templating.impl.ProdTemplateService
    • loadAndRunTemplateImpl

      public void loadAndRunTemplateImpl(String templatePath, StringWriter out, Map<String,Object> pageArgs)
      Overrides:
      loadAndRunTemplateImpl in class org.webpieces.templating.impl.ProdTemplateService
    • loadTemplate

      protected org.webpieces.templating.api.Template loadTemplate(String fullTemplatePath, String fullClassName)
      Overrides:
      loadTemplate in class org.webpieces.templating.impl.ProdTemplateService