public class PropertyObjectProvider extends java.lang.Object implements org.apache.hivemind.service.ObjectProvider
ObjectProvider
that gets the actual value from the
tapestry.GlobalPropertySource
service.Constructor and Description |
---|
PropertyObjectProvider() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
provideObject(org.apache.hivemind.internal.Module contributingModule,
java.lang.Class propertyType,
java.lang.String locator,
org.apache.hivemind.Location location)
Gets the value; the locator is the key passed to
IPropertySource.getPropertyValue(String) . |
void |
setSource(IPropertySource source) |
public PropertyObjectProvider()
public java.lang.Object provideObject(org.apache.hivemind.internal.Module contributingModule, java.lang.Class propertyType, java.lang.String locator, org.apache.hivemind.Location location)
IPropertySource.getPropertyValue(String)
.provideObject
in interface org.apache.hivemind.service.ObjectProvider
public void setSource(IPropertySource source)