org.apache.tapestry.util
Class ServletPropertySource
java.lang.Object
org.apache.tapestry.util.ServletPropertySource
- All Implemented Interfaces:
- IPropertySource
public class ServletPropertySource
- extends Object
- implements IPropertySource
Implementation of IPropertySource
that returns values defined as Servlet initialization parameters
(defined as <init-param>
in the
web.xml
deployment descriptor.
- Since:
- 2.3
- Version:
- $Id: ServletPropertySource.java 243791 2004-02-19 17:38:13Z hlship $
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletPropertySource
public ServletPropertySource(ServletConfig config)
getPropertyValue
public String getPropertyValue(String propertyName)
- Invokes
ServletConfig.getInitParameter(java.lang.String)
.
- Specified by:
getPropertyValue
in interface IPropertySource