Class WebappLoader

  extended by org.apache.velocity.runtime.resource.loader.ResourceLoader
      extended by
          extended by

Deprecated. Use WebappResourceLoader instead.

public class WebappLoader
extends WebappResourceLoader

This is basically an empty subclass of WebappResourceLoader that exists merely for backwards compatibility with VelocityTools 1.x. Please use WebappResourceLoader directly, as this may be removed in VelocityTools 2.1.

$Id: 511959 2007-02-26 19:24:39Z nbubna $

Field Summary
Fields inherited from class
paths, servletContext, templatePaths
Fields inherited from class org.apache.velocity.runtime.resource.loader.ResourceLoader
className, isCachingOn, log, modificationCheckInterval, rsvc
Constructor Summary
Method Summary
 void init(org.apache.commons.collections.ExtendedProperties configuration)
          Deprecated. This is abstract in the base class, so we need it.
Methods inherited from class
getLastModified, getResourceStream, isSourceModified
Methods inherited from class org.apache.velocity.runtime.resource.loader.ResourceLoader
commonInit, getClassName, getModificationCheckInterval, isCachingOn, resourceExists, setCachingOn, setModificationCheckInterval
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public WebappLoader()
Method Detail


public void init(org.apache.commons.collections.ExtendedProperties configuration)
Description copied from class: WebappResourceLoader
This 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").

init in class WebappResourceLoader
configuration - the ExtendedProperties associated with this resource loader.

Copyright (c) 2003-2007 Apache Software Foundation