com.atlassian.confluence.setup.webwork
Class ConfluenceVelocityManager

java.lang.Object
  extended by com.opensymphony.webwork.views.velocity.VelocityManager
      extended by com.atlassian.confluence.setup.webwork.ConfluenceVelocityManager

public final class ConfluenceVelocityManager
extends com.opensymphony.webwork.views.velocity.VelocityManager

Confluence specialisation of the WebWork velocity manager. This manager is responsible for providing default Velocity contexts to the WebWork velocity infrastructure and attaching application context event listeners.


Field Summary
 
Fields inherited from class com.opensymphony.webwork.views.velocity.VelocityManager
ACTION, OGNL, PARENT, REQUEST, RESPONSE, STACK, TAG, WEBWORK
 
Constructor Summary
ConfluenceVelocityManager()
           
 
Method Summary
 org.apache.velocity.context.Context createContext(com.opensymphony.xwork.util.OgnlValueStack ognlValueStack, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
           
static org.apache.velocity.context.Context getConfluenceVelocityContext()
           
static org.apache.velocity.context.Context processContextForRendering(org.apache.velocity.context.Context context)
           
 
Methods inherited from class com.opensymphony.webwork.views.velocity.VelocityManager
getInstance, getVelocityEngine, init, init, loadConfiguration, newVelocityEngine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceVelocityManager

public ConfluenceVelocityManager()
Method Detail

createContext

public org.apache.velocity.context.Context createContext(com.opensymphony.xwork.util.OgnlValueStack ognlValueStack,
                                                         javax.servlet.http.HttpServletRequest httpServletRequest,
                                                         javax.servlet.http.HttpServletResponse httpServletResponse)
Overrides:
createContext in class com.opensymphony.webwork.views.velocity.VelocityManager

processContextForRendering

public static org.apache.velocity.context.Context processContextForRendering(org.apache.velocity.context.Context context)
Parameters:
context - is currently modified and returned, but do not rely on this as it may change in future.

getConfluenceVelocityContext

public static org.apache.velocity.context.Context getConfluenceVelocityContext()


Copyright © 2003-2012 Atlassian. All Rights Reserved.