blob: 1b93f5324ba9d2559990b4dab965e7d31b0208d1 [file] [log] [blame]
var orion = orion || {};
orion.BundleContext = function(bundle, framework) {
this._bundle = bundle;
this._framework = framework;
};
orion.BundleContext.prototype = {
getBundle : function() {
return this._bundle;
},
getBundles : function() {
return this._framework.getBundles();
},
getProperty : function(name) {
return this._framework.getProperty(name);
},
installBundle : function(location, headers) {
return this._framework.installBundle(location, headers);
}
};