org.apache.velocity.tools.view.servlet
Class WebappLoader

java.lang.Object
  extended by org.apache.velocity.runtime.resource.loader.ResourceLoader
      extended by org.apache.velocity.tools.view.WebappResourceLoader
          extended by org.apache.velocity.tools.view.servlet.WebappLoader

Deprecated. Use WebappResourceLoader instead.

@Deprecated
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.

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
 
Fields inherited from class org.apache.velocity.runtime.resource.loader.ResourceLoader
className, isCachingOn, log, modificationCheckInterval, rsvc
 
Constructor Summary
WebappLoader()
          Deprecated.  
 
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 org.apache.velocity.tools.view.WebappResourceLoader
getLastModified, getResourceStream, isSourceModified
 
Methods inherited from class org.apache.velocity.runtime.resource.loader.ResourceLoader
commonInit, getClassName, getModificationCheckInterval, isCachingOn, setCachingOn, setModificationCheckInterval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebappLoader

public WebappLoader()
Deprecated. 
Method Detail

init

public void init(org.apache.commons.collections.ExtendedProperties configuration)
Deprecated. 
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").

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


Copyright (c) 2003-2007 Apache Software Foundation