org.apache.tapestry.services.impl
Class PropertyObjectProvider
java.lang.Object
org.apache.tapestry.services.impl.PropertyObjectProvider
- All Implemented Interfaces:
- ObjectProvider
public class PropertyObjectProvider
- extends Object
- implements ObjectProvider
An implementation of ObjectProvider
that gets the actual value from the
tapestry.GlobalPropertySource service.
- 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 |
PropertyObjectProvider
public PropertyObjectProvider()
provideObject
public Object provideObject(Module contributingModule,
Class propertyType,
String locator,
Location location)
- Gets the value; the locator is the key passed to
IPropertySource.getPropertyValue(String).
- Specified by:
provideObject in interface ObjectProvider
setSource
public void setSource(IPropertySource source)
Copyright © 2006 Apache Software Foundation. All Rights Reserved.