final ResourceAgentClassInfo raci = resourceAgentClassInfoProvider.get();
raci.init(crmClass, this);
classInfoMap.put(crmClass, raci);
final DefaultMutableTreeNode classNode = treeMenuController.createMenuItem(availableServicesNode, raci);
for (final ResourceAgent resourceAgent : crmXml.getServices(crmClass)) {
final AvailableServiceInfo availableService = availableServiceInfoProvider.get();
availableService.init(resourceAgent, this);
availableServiceMap.put(resourceAgent, availableService);
treeMenuController.createMenuItem(classNode, availableService);
}
}
}