org.apache.tapestry.services.impl
Class InitializationParameterHolderPropertySource
java.lang.Object
org.apache.tapestry.services.impl.InitializationParameterHolderPropertySource
- All Implemented Interfaces:
- IPropertySource
public class InitializationParameterHolderPropertySource
- extends Object
- implements IPropertySource
Searches for property values inside objects that implement InitializationParameterHolder
.
- Since:
- 4.0
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InitializationParameterHolderPropertySource
public InitializationParameterHolderPropertySource()
getPropertyValue
public String getPropertyValue(String propertyName)
- Description copied from interface:
IPropertySource
- Returns the value for a given property, or null if the source does not
provide a value for the named property. Implementations of
IPropertySource may use delegation to resolve the value (that is, if one
property source returns null, it may forward the request to another
source).
- Specified by:
getPropertyValue
in interface IPropertySource
- Parameters:
propertyName
- Name of the property to get.
- Returns:
- Value of property or null if none found.
setHolder
public void setHolder(InitializationParameterHolder holder)
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.