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 org.apache.tapestry.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,v 1.1 2003/03/05 22:59:33 hlship Exp $
- 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