Map<IHierarchyItemHandle, HierarchyItem> factoryHierarchy = (Map<IHierarchyItemHandle, HierarchyItem>) ois.readObject();
HierarchyItem factoryHierarchyItem = hierarchy.get(factoryHandle);
handleIdentities.put(factoryHandle, factoryHandle);
ITradingAgentFactory factory = factoriesByHandle.get(factoryHandle);
for (Map.Entry<TradingAgentConfigurationHandle, Properties> entry : factoryConfigurationByHandle.entrySet()) {
configurationByHandle.put(entry.getKey(), new TradingAgentConfiguration(factory, entry.getValue()));
factoryHierarchyItem.children.add(entry.getKey());
handleIdentities.put(entry.getKey(), entry.getKey());
}