throw new UncheckedException("err.rpc.valueDeserialization", e);
}
}
TransferObject instances = (TransferObject)tobj.findValue(":instances");
InstanceFactory factory = null;
for (int i = 0, n = m_flow.getVariableCount(); i != n; ++i)
{
Variable var = m_flow.getVariable(i);
Object value = tobj.findValue(var.getName());
if (value == null && instances != null)
{
value = instances.findValue(var.getName());
if (value instanceof List || value instanceof TransferObject)
{
if (factory == null)
{
factory = new InstanceFactory(context);
}
value = factory.instantiate(value);
}
}
setValue(var, value);
}