org.apache.tapestry.util
Class ServletPropertySource

java.lang.Object
  extended by 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

Constructor Summary
ServletPropertySource(ServletConfig config)
           
 
Method Summary
 String getPropertyValue(String propertyName)
          Invokes ServletConfig.getInitParameter(java.lang.String).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletPropertySource

public ServletPropertySource(ServletConfig config)
Method Detail

getPropertyValue

public String getPropertyValue(String propertyName)
Invokes ServletConfig.getInitParameter(java.lang.String).

Specified by:
getPropertyValue in interface IPropertySource