|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.freemarker.loaders.AbstractDelegatingTemplateLoader info.magnolia.freemarker.loaders.LazyWebappTemplateLoader
public class LazyWebappTemplateLoader
Wrapper for Freemarker WebappTemplateLoader to allow configuration of the loader via content2bean with lazy initialization at runtime (as soon as a ServletContext is available).
Constructor Summary | |
---|---|
LazyWebappTemplateLoader()
|
Method Summary | |
---|---|
protected freemarker.cache.TemplateLoader |
newDelegate()
Implementations should return null if it is too early to instantiate the delegate. |
Methods inherited from class info.magnolia.freemarker.loaders.AbstractDelegatingTemplateLoader |
---|
closeTemplateSource, findTemplateSource, getDelegate, getLastModified, getReader |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LazyWebappTemplateLoader()
Method Detail |
---|
protected freemarker.cache.TemplateLoader newDelegate()
AbstractDelegatingTemplateLoader
newDelegate
in class AbstractDelegatingTemplateLoader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |