AppData resultAppData = new AppData(xbeansData.getName(), xbeansData.getOwner(), xbeansData.getHostName());
resultAppData.allowedAction = xbeansData.getAllowedAction();
resultAppData.resourceID = xbeansData.getName();
appDescList.add(resultAppData);
} catch (XmlValueOutOfRangeException e) {
throw new GfacException("Problem with retrieving object : " + e.getLocalizedMessage(), FaultCode.ErrorAtDependentService);
}
}
appDesc = appDescList.toArray(new AppData[0]);
} else {
return null;
}
String[] finalResults = new String[appDesc.length];
for (int i = 0; i < appDesc.length; i++) {
finalResults[i] = appDesc[i].name + "#" + appDesc[i].secondryName;
}
return finalResults;
} catch (XRegistryClientException e) {
throw new GfacException(e, FaultCode.ErrorAtDependentService);
}
}