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 JeeConfigModifier and TypeClassDescriptionclassImplementsJeeConfigwith only aServletContext.classImplementsJeeConfigwith aFilterConfig.classImplementsJeeConfigwith aServletConfig.Methods in org.apache.velocity.tools.view with parameters of type JeeConfigModifier and TypeMethodDescriptionprotected voidprotected voidHere'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 voidInitializes ToolboxFactory, VelocityEngine, and sets default encoding for processing requests.protected voidInitializes 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