blob: 3994913a9d7686228eb0b03a8e6a3625c4c9e7cd [file] [log] [blame]
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);
}
};