|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jamon.BasicTemplateManager
public class BasicTemplateManager
A standard implementation of the TemplateManager
interface.
The BasicTemplateManager
is geared towards production
deployment; it is designed for performance. It will NOT
dynamically examine or recompile template sources.
BasicTemplateManager
instances are thread-safe. In
your applications, you generally want exactly one instance of a
BasicTemplateManager (i.e. a singleton), so consider using TemplateManagerSource
Constructor Summary | |
---|---|
BasicTemplateManager()
Creates a new BasicTemplateManager using a default
ClassLoader . |
|
BasicTemplateManager(java.lang.ClassLoader p_classLoader)
Creates a new BasicTemplateManager from a
specified ClassLoader . |
Method Summary | |
---|---|
AbstractTemplateProxy.Intf |
constructImpl(AbstractTemplateProxy p_proxy)
Given a proxy, return an instance of the executable code for that proxy's template. |
AbstractTemplateProxy |
constructProxy(java.lang.String p_path)
Given a template path, return a proxy for that template. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicTemplateManager()
BasicTemplateManager
using a default
ClassLoader
.
public BasicTemplateManager(java.lang.ClassLoader p_classLoader)
BasicTemplateManager
from a
specified ClassLoader
.
p_classLoader
- the ClassLoader
to use to
load templates.Method Detail |
---|
public AbstractTemplateProxy.Intf constructImpl(AbstractTemplateProxy p_proxy)
TemplateManager
constructImpl
in interface TemplateManager
p_proxy
- a proxy for the template
Template
instancepublic AbstractTemplateProxy constructProxy(java.lang.String p_path)
constructProxy
in interface TemplateManager
p_path
- the path to the template
Template
proxy instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |