org.apache.velocity.tools.view.servlet
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. 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 $
Method Summary |
void |
init(ExtendedProperties configuration)
Deprecated. This is abstract in the base class, so we need it. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebappLoader
public WebappLoader()
- Deprecated.
init
public void init(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 © 2002-2010 Apache Software Foundation. All Rights Reserved.