Package org.webpieces.templatingdev.impl
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
-
-
Constructor Summary
Constructors Constructor Description DevTemplateService(org.webpieces.templating.api.RouterLookup urlLookup, org.webpieces.templating.api.HtmlTagLookup htmlTagLookup, HtmlToJavaClassCompiler compiler, TemplateCompileConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitialize()voidloadAndRunTemplateImpl(java.lang.String templatePath, java.io.StringWriter out, java.util.Map<java.lang.String,java.lang.Object> pageArgs)protected org.webpieces.templating.api.TemplateloadTemplate(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
-
-
-
-
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:
initializein classorg.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:
loadAndRunTemplateImplin classorg.webpieces.templating.impl.ProdTemplateService
-
loadTemplate
protected org.webpieces.templating.api.Template loadTemplate(java.lang.String fullTemplatePath, java.lang.String fullClassName)- Overrides:
loadTemplatein classorg.webpieces.templating.impl.ProdTemplateService
-
-