@Override
public ModelledResource getModelledResource(String uri, IDirectory bundle) throws ModellerException{
_logger.debug(LOG_ENTRY, "getModelledResource", new Object[]{uri, bundle});
ParsedServiceElements pse = getServiceElements(bundle);
BundleManifest bm = BundleManifest.fromBundle(new File(bundle.toString()));
Attributes attributes = bm.getRawAttributes();
ModelledResource mbi;
try {
mbi = _modellingManager.getModelledResource(uri, attributes, pse.getReferences(), pse.getServices());
} catch (InvalidAttributeException iae) {
throw new ModellerException(iae);