public ModelledResource getModelledResource(String uri, IDirectory bundle) throws ModellerException{
_logger.debug(LOG_ENTRY, "getModelledResource", new Object[]{uri, bundle});
if (bundle != null) {
BundleManifest bm = BundleManifest.fromBundle(bundle);
ParsedServiceElements pse = getServiceElements(bm, bundle);
return model(uri, bm, pse);
} else {
// The bundle does not exist
ModellerException me = new ModellerException(MessageUtil.getMessage("INVALID_BUNDLE_LOCATION", bundle));