Package org.webpieces.templating.impl
Class ProdTemplateService
java.lang.Object
org.webpieces.templating.impl.AbstractTemplateService
org.webpieces.templating.impl.ProdTemplateService
- All Implemented Interfaces:
TemplateService
@Singleton
public class ProdTemplateService
extends AbstractTemplateService
implements TemplateService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidSpecial way to install more tags.loadAndRunTemplate(String templatePath, Map<String, Object> pageArgs, Map<Object, Object> setTagProps) Purely for tag use only.voidloadAndRunTemplateImpl(String templatePath, StringWriter out, Map<String, Object> pageArgs) protected final TemplateloadTemplate(String templatePath) protected TemplateloadTemplate(String fullTemplatePath, String fullClassName) protected final voidrunTemplate(Template template, StringWriter out, Map<String, Object> pageArgs) Methods 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
-
Field Details
-
lookup
-
urlLookup
-
-
Constructor Details
-
ProdTemplateService
-
-
Method Details
-
loadAndRunTemplateImpl
public void loadAndRunTemplateImpl(String templatePath, StringWriter out, Map<String, Object> pageArgs) - Specified by:
loadAndRunTemplateImplin classAbstractTemplateService
-
loadAndRunTemplate
public String loadAndRunTemplate(String templatePath, Map<String, Object> pageArgs, Map<Object, Object> setTagProps) Description copied from interface:TemplateServicePurely for tag use only. we could hide this as strictly speaking, this is not for any webserver to call but for tags to use- Specified by:
loadAndRunTemplatein interfaceTemplateService
-
loadTemplate
-
loadTemplate
protected Template loadTemplate(String fullTemplatePath, String fullClassName) throws ClassNotFoundException - Throws:
ClassNotFoundException
-
runTemplate
-
runTemplate
-
install
Description copied from interface:TemplateServiceSpecial way to install more tags. Development server calls this after recompiles to re-install tags- Specified by:
installin interfaceTemplateService
-
initialize
public void initialize()
-