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());
}
for (Map.Entry<TradingAgentBindingHandle, BindingPersistentData> entry : factoryBindingByHandle.entrySet()) {
TradingAgentConfiguration configuration = configurationByHandle.get(entry.getValue().configurationHandle);
TradingAgentBinding binding = new TradingAgentBinding(configuration, decodeInputSeriesMap(entry.getValue().inputSeriesNames));
bindingByHandle.put(entry.getKey(), binding);
handleIdentities.put(entry.getKey(), entry.getKey());
}