org.apache.tapestry.services
Interface InjectedValueProvider

All Known Implementing Classes:
InjectedValueProviderImpl

public interface InjectedValueProvider

Since:
4.0
Author:
Howard M. Lewis Ship

Method Summary
 Object obtainValue(String objectReference, org.apache.hivemind.Location location)
          Looks up a value in HiveMind using the object reference (as with HiveMind's built-in object translator).
 

Method Detail

obtainValue

Object obtainValue(String objectReference,
                   org.apache.hivemind.Location location)
Looks up a value in HiveMind using the object reference (as with HiveMind's built-in object translator). The module will always be the Tapestry module (which means that most service ids or configurations will have to be fully qualified.

Parameters:
objectReference - 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-2008 Apache Software Foundation. All Rights Reserved.