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 Object
implements InjectedValueProvider

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
InjectedValueProviderImpl(Module module, Translator objectTranslator)
          Creates a new value provider.
 
Method Summary
 Object obtainValue(String locator, 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(Module module,
                                 Translator objectTranslator)
Creates a new value provider.

Parameters:
module -
objectTranslator -
Method Detail

obtainValue

public Object obtainValue(String locator,
                          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


Copyright © 2006 Apache Software Foundation. All Rights Reserved.