Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

VelocityEngineFactory Class

Factory that configures a VelocityEngine. Can be used standalone, but typically you will use VelocityEngineFactoryObject for preparing a VelocityEngine as bean reference.
The optional "ConfigLocation" property sets the location of the Velocity properties file, within the current application. Velocity properties can be overridden via "VelocityProperties", or even completely specified locally, avoiding the need for an external properties file.
The "ResourceLoaderPath" property can be used to specify the Velocity resource loader path via Spring's IResource abstraction, possibly relative to the Spring application context.
If "OverrideLogging" is true (the default), the VelocityEngine will be configured to log via Commons Logging, that is, using the Spring-provided CommonsLoggingLogSystem as log system.
The simplest way to use this class is to specify a ResourceLoaderPath property. the VelocityEngine typically then does not need any further configuration.

For a list of all members of this type, see VelocityEngineFactory Members .

System.Object
   VelocityEngineFactory
      VelocityEngineFactoryObject

[Visual Basic]
Public Class VelocityEngineFactory
[C#]
public class VelocityEngineFactory

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: Spring.Template.Velocity

Assembly: Spring.Template.Velocity (in Spring.Template.Velocity.dll)

See Also

VelocityEngineFactory Members | Spring.Template.Velocity Namespace