org.apache.tapestry.services.impl
Class InjectedValueProviderImpl

java.lang.Object
  extended by org.apache.tapestry.services.impl.InjectedValueProviderImpl
All Implemented Interfaces:
InjectedValueProvider

public class InjectedValueProviderImpl
extends java.lang.Object
implements InjectedValueProvider

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
InjectedValueProviderImpl(org.apache.hivemind.internal.Module module, org.apache.hivemind.schema.Translator objectTranslator)
           
 
Method Summary
 java.lang.Object obtainValue(java.lang.String locator, org.apache.hivemind.Location location)
          Deletegates out to {@link Translator#translate(org.apache.hivemind.internal.Module, java.lang.Class, java.lang.String, org.apache.hivemind.Location)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InjectedValueProviderImpl

public InjectedValueProviderImpl(org.apache.hivemind.internal.Module module,
                                 org.apache.hivemind.schema.Translator objectTranslator)
Method Detail

obtainValue

public java.lang.Object obtainValue(java.lang.String locator,
                                    org.apache.hivemind.Location location)
Deletegates out to {@link Translator#translate(org.apache.hivemind.internal.Module, java.lang.Class, java.lang.String, org.apache.hivemind.Location)

Specified by:
obtainValue in interface InjectedValueProvider
Parameters:
locator - the reference to the HiveMind object to obtain, with a leading prefix indicating type (i.e., "service:", "configuration:", etc.
location - the location of the value, used if an error must be reported.
Returns:
the value