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
-
Field Summary
Fields inherited from class org.webpieces.templating.impl.ProdTemplateService
lookup, urlLookup -
Constructor Summary
ConstructorsConstructorDescriptionDevTemplateService(org.webpieces.templating.api.RouterLookup urlLookup, org.webpieces.templating.api.HtmlTagLookup htmlTagLookup, HtmlToJavaClassCompiler compiler, TemplateCompileConfig config) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidloadAndRunTemplateImpl(String templatePath, StringWriter out, Map<String, Object> pageArgs) protected org.webpieces.templating.api.TemplateloadTemplate(String fullTemplatePath, String fullClassName) Methods inherited from class org.webpieces.templating.impl.ProdTemplateService
install, loadAndRunTemplate, loadTemplate, runTemplate, runTemplateMethods inherited from class org.webpieces.templating.impl.AbstractTemplateService
loadAndRunTemplateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
initializein classorg.webpieces.templating.impl.ProdTemplateService
-
loadAndRunTemplateImpl
public void loadAndRunTemplateImpl(String templatePath, StringWriter out, Map<String, Object> pageArgs) - Overrides:
loadAndRunTemplateImplin classorg.webpieces.templating.impl.ProdTemplateService
-
loadTemplate
protected org.webpieces.templating.api.Template loadTemplate(String fullTemplatePath, String fullClassName) - Overrides:
loadTemplatein classorg.webpieces.templating.impl.ProdTemplateService
-