ApplicationDescriptorResource applicationDescriptorResource)
throws MalformedDescriptorException {
try {
return ApplicationDeploymentDescription.fromXML(applicationDescriptorResource.getContent());
} catch (XmlException e) {
throw new MalformedDescriptorException(applicationDescriptorResource.getName(),e);
}
}