|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JeeConfig | |
---|---|
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 | |
---|---|
class |
JeeContextConfig
Implements JeeConfig with only a ServletContext . |
class |
JeeFilterConfig
Implements JeeConfig with a FilterConfig . |
class |
JeeServletConfig
Implements JeeConfig with a ServletConfig . |
Methods in org.apache.velocity.tools.view with parameters of type JeeConfig | |
---|---|
protected void |
VelocityView.configure(JeeConfig config,
ToolboxFactory factory)
Here's the configuration lookup/loading order: If deprecationSupportMode is true: Config file optionally specified by org.apache.velocity.toolbox init-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 servletContext org.apache.velocity.tools init-param
Config file optionally at /WEB-INF/tools.xml (new conventional location)
Config file optionally specified by servlet org.apache.velocity.tools init-param
Remember that as these configurations are added on top of each other,
the newer values will always override the older ones. |
protected void |
VelocityView.configure(JeeConfig config,
VelocityEngine velocity)
|
protected FactoryConfiguration |
VelocityView.getDeprecatedConfig(JeeConfig config)
Deprecated. |
static VelocityView |
ServletUtils.getVelocityView(JeeConfig config)
Returns the shared VelocityView for the specified
JeeConfig 's context. |
protected void |
VelocityView.init(JeeConfig config)
Initializes ToolboxFactory, VelocityEngine, and sets default encoding for processing requests. |
protected void |
VelocityView.init(JeeConfig config,
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 void |
VelocityView.setEncoding(JeeConfig config)
|
Constructors in org.apache.velocity.tools.view with parameters of type JeeConfig | |
---|---|
VelocityView(JeeConfig config)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |