public class DeferredObjectImpl extends java.lang.Object implements DeferredObject
Translator.translate(org.apache.hivemind.internal.Module, java.lang.Class, java.lang.String, org.apache.hivemind.Location)
,
allowing the actual invocation (and all the object creation, etc., that entails) to be deferred,
or even avoided all together.Constructor and Description |
---|
DeferredObjectImpl(org.apache.hivemind.schema.Translator objectTranslator,
org.apache.hivemind.internal.Module module,
java.lang.String objectReference,
org.apache.hivemind.Location location) |
Modifier and Type | Method and Description |
---|---|
org.apache.hivemind.Location |
getLocation() |
java.lang.Object |
getObject()
Returns the target object.
|
public DeferredObjectImpl(org.apache.hivemind.schema.Translator objectTranslator, org.apache.hivemind.internal.Module module, java.lang.String objectReference, org.apache.hivemind.Location location)
public java.lang.Object getObject()
DeferredObject
getObject
in interface DeferredObject
public org.apache.hivemind.Location getLocation()
getLocation
in interface org.apache.hivemind.Locatable