/** Updates available services. */
private void updateAvailableServices() {
LOG.debug("updateAvailableServices: start");
treeMenuController.removeChildren(availableServicesNode);
for (final String crmClass : CRM_CLASSES) {
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);