public class InjectedValueProviderImpl extends java.lang.Object implements InjectedValueProvider
Constructor and Description |
---|
InjectedValueProviderImpl(org.apache.hivemind.internal.Module module,
org.apache.hivemind.schema.Translator objectTranslator) |
Modifier and Type | Method and Description |
---|---|
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)
|
public InjectedValueProviderImpl(org.apache.hivemind.internal.Module module, org.apache.hivemind.schema.Translator objectTranslator)
public java.lang.Object obtainValue(java.lang.String locator, org.apache.hivemind.Location location)
obtainValue
in interface InjectedValueProvider
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.