Class WebappLoader
- java.lang.Object
-
- org.apache.velocity.runtime.resource.loader.ResourceLoader
-
- org.apache.velocity.tools.view.WebappResourceLoader
-
- org.apache.velocity.tools.view.servlet.WebappLoader
-
@Deprecated public class WebappLoader extends WebappResourceLoader
Deprecated.UseWebappResourceLoaderinstead.This is basically an empty subclass of
WebappResourceLoaderthat exists merely for backwards compatibility with VelocityTools 1.x. Please useWebappResourceLoaderdirectly, as this may be removed in VelocityTools 2.1.- Version:
- $Id: WebappLoader.java 511959 2007-02-26 19:24:39Z nbubna $
-
-
Field Summary
-
Fields inherited from class org.apache.velocity.tools.view.WebappResourceLoader
paths, servletContext, templatePaths
-
-
Constructor Summary
Constructors Constructor Description WebappLoader()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidinit(org.apache.commons.collections.ExtendedProperties configuration)Deprecated.This is abstract in the base class, so we need it.-
Methods inherited from class org.apache.velocity.tools.view.WebappResourceLoader
getLastModified, getResourceStream, isSourceModified
-
-
-
-
Method Detail
-
init
public void init(org.apache.commons.collections.ExtendedProperties configuration)
Deprecated.Description copied from class:WebappResourceLoaderThis is abstract in the base class, so we need it.
NOTE: this expects that the ServletContext has already been placed in the runtime's application attributes under its full class name (i.e. "javax.servlet.ServletContext").- Overrides:
initin classWebappResourceLoader- Parameters:
configuration- theExtendedPropertiesassociated with this resource loader.
-
-