Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

VelocityEngineFactory.InitSpringResourceLoader Method

Initialize a SpringResourceLoader for the given VelocityEngine.
Called by

InitVelocityResourceLoader
. Important: the NVeloctity ResourceLoaderFactory.getLoader method replaces ';' with ',' when attempting to construct our resource loader. The name on the SPRING_RESOURCE_LOADER_CLASS property has to be in the form of "ClassFullName; AssemblyName" in replacement of the tranditional "ClassFullName, AssemblyName" to work.

[Visual Basic]
Protected Sub InitSpringResourceLoader( _
   ByVal velocityEngine As VelocityEngine, _
   ByVal extendedProperties As ExtendedProperties, _
   ByVal resourceLoaderPathString As String _
)
[C#]
protected void InitSpringResourceLoader(
   VelocityEngine velocityEngine,
   ExtendedProperties extendedProperties,
   string resourceLoaderPathString
);

Parameters

velocityEngine
velocityEngine the VelocityEngine to configure
extendedProperties
resourceLoaderPathString
resourceLoaderPath the path to load Velocity resources from

See Also

VelocityEngineFactory Class | Spring.Template.Velocity Namespace