|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.velocity.runtime.resource.loader.ResourceLoader
org.apache.velocity.tools.view.servlet.WebappLoader
org.xwiki.velocity.XWikiWebappResourceLoader
public class XWikiWebappResourceLoader
Extends the Velocity Tool's WebappLoader by adding the ServletContext to the Velocity Engine's Application
Attributes since this is a prerequisite for WebappLoader to work correctly. This resource loader depends on
the fact that the XWiki Component Manager has been set in Velocity Engine's Application Attribute prior to its
initialization.
| Field Summary |
|---|
| Fields inherited from class org.apache.velocity.tools.view.servlet.WebappLoader |
|---|
paths, servletContext, templatePaths |
| Fields inherited from class org.apache.velocity.runtime.resource.loader.ResourceLoader |
|---|
className, isCachingOn, log, modificationCheckInterval, rsvc |
| Constructor Summary | |
|---|---|
XWikiWebappResourceLoader()
|
|
| Method Summary | |
|---|---|
void |
init(org.apache.commons.collections.ExtendedProperties configuration)
|
| Methods inherited from class org.apache.velocity.tools.view.servlet.WebappLoader |
|---|
getLastModified, getResourceStream, isSourceModified |
| Methods inherited from class org.apache.velocity.runtime.resource.loader.ResourceLoader |
|---|
commonInit, getClassName, getModificationCheckInterval, isCachingOn, resourceExists, setCachingOn, setModificationCheckInterval |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XWikiWebappResourceLoader()
| Method Detail |
|---|
public void init(org.apache.commons.collections.ExtendedProperties configuration)
init in class org.apache.velocity.tools.view.servlet.WebappLoader
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||