@Role public interface VelocityContextFactory
VelocityContextInitializer components. The returned context is supposed to be used
only once, as otherwise data may leak between different requests, and the parsing/rendering process would be affected
by previous data.| Modifier and Type | Method and Description |
|---|---|
org.apache.velocity.VelocityContext |
createContext()
Creates and initializes a new Velocity Context.
|
org.apache.velocity.VelocityContext createContext()
throws XWikiVelocityException
VelocityContextInitializersXWikiVelocityException - if the context failed to be created or initialized properlyCopyright © 2004–2017 XWiki. All rights reserved.