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