Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void initialize()  
      void loadAndRunTemplateImpl​(java.lang.String templatePath, java.io.StringWriter out, java.util.Map<java.lang.String,​java.lang.Object> pageArgs)  
      protected org.webpieces.templating.api.Template loadTemplate​(java.lang.String fullTemplatePath, java.lang.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 Detail

      • DevTemplateService

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

      • initialize

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

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

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