Uses of Interface
org.apache.velocity.tools.view.JeeConfig
-
Packages that use JeeConfig Package Description org.apache.velocity.tools.view Contains tools and supporting infrastructure for using those tools in a servlet environment as well as general use classes to support use of Velocity as (or in) the view layer of web applications. -
-
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, ToolboxFactory factory)Here's the configuration lookup/loading order: If deprecationSupportMode is true: Config file optionally specified byorg.apache.velocity.toolboxinit-param (servlet or servletContext) If none, config file optionally at/WEB-INF/toolbox.xml(deprecated conventional location) If no old toolbox or loadDefaults is true,ConfigurationUtils.getDefaultTools()ConfigurationUtils.getAutoLoaded()(false) Config file optionally specified by servletContextorg.apache.velocity.toolsinit-param Config file optionally at/WEB-INF/tools.xml(new 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.protected FactoryConfigurationVelocityView. getDeprecatedConfig(JeeConfig config)Deprecated.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 org.apache.commons.collections.ExtendedProperties 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)
-