Uses of Interface
org.apache.velocity.tools.view.JeeConfig
-
-
Uses of JeeConfig in org.apache.velocity.tools.view
Classes in org.apache.velocity.tools.view that implement JeeConfig Modifier and Type Class Description classJeeContextConfigImplementsJeeConfigwith only aServletContext.classJeeFilterConfigImplementsJeeConfigwith aFilterConfig.classJeeServletConfigImplementsJeeConfigwith aServletConfig.Methods in org.apache.velocity.tools.view with parameters of type JeeConfig Modifier and Type Method Description protected voidVelocityView. configure(JeeConfig config, org.apache.velocity.app.VelocityEngine velocity)protected voidVelocityView. configure(JeeConfig config, org.apache.velocity.tools.ToolboxFactory factory)Here's the configuration lookup/loading order: If loadDefaults is true,ConfigurationUtils.getDefaultTools()Config file optionally specified by servletContextorg.apache.velocity.toolsinit-param Config file optionally at/WEB-INF/tools.xml(conventional location) Config file optionally specified by servletorg.apache.velocity.toolsinit-param Remember that as these configurations are added on top of each other, the newer values will always override the older ones.static VelocityViewServletUtils. getVelocityView(JeeConfig config)Returns the sharedVelocityViewfor the specifiedJeeConfig's context.protected voidVelocityView. init(JeeConfig config)Initializes ToolboxFactory, VelocityEngine, and sets default encoding for processing requests.protected voidVelocityView. init(JeeConfig config, org.apache.velocity.app.VelocityEngine velocity)Initializes the Velocity runtime, first calling loadConfiguration(JeeConfig) to get a java.util.Properties of configuration information and then calling velocityEngine.init().protected voidVelocityView. setEncoding(JeeConfig config)Constructors in org.apache.velocity.tools.view with parameters of type JeeConfig Constructor Description VelocityView(JeeConfig config)
-